'PARAVIS_TEST_OUTPUT_DIR' cmake cache variable was removed.
Path of temp directory for 'make test' pictures can be defined by user or will be built at start of test.
INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/PARAVIS_version.h DESTINATION include/salome)
# Configure Testing
-SET(PARAVIS_TEST_OUTPUT_DIR /tmp/pic CACHE PATH "Directory for saving test pictures.")
OPTION(BUILD_TESTING "Build ParaVis Testing" ON)
IF(BUILD_TESTING)
SET(PARAVIS_TEST_DIR ${ParaVis_BINARY_DIR}/Test/Temporary)
A1
)
SET(TIMEOUT 10000)
- ADD_TEST(2DVIEWER_${tfile} ${PYTHON_EXECUTABLE} ${PROJECT_SOURCE_DIR}/test/VisuPrs/Util/paravistesthelper.py ${TIMEOUT} ${CMAKE_CURRENT_SOURCE_DIR}/${tfile}.py ${PARAVIS_TEST_OUTPUT_DIR})
+ ADD_TEST(2DVIEWER_${tfile} ${PYTHON_EXECUTABLE} ${PROJECT_SOURCE_DIR}/test/VisuPrs/Util/paravistesthelper.py ${TIMEOUT} ${CMAKE_CURRENT_SOURCE_DIR}/${tfile}.py)
SET_TESTS_PROPERTIES(2DVIEWER_${tfile} PROPERTIES FAIL_REGULAR_EXPRESSION "FAILED" TIMEOUT ${TIMEOUT})
ENDFOREACH( tfile )
ENDIF (PYTHON_EXECUTABLE)
import time
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1], "3D_viewer/A1")
+picturedir = get_picture_dir("3D_viewer/A1")
# Add path separator to the end of picture path if necessery
if not picturedir.endswith(os.sep):
import time
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1], "3D_viewer/A2")
+picturedir = get_picture_dir("3D_viewer/A2")
# Add path separator to the end of picture path if necessery
if not picturedir.endswith(os.sep):
import time
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1], "3D_viewer/A3")
+picturedir = get_picture_dir("3D_viewer/A3")
# Add path separator to the end of picture path if necessery
if not picturedir.endswith(os.sep):
import time
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1], "3D_viewer/A4")
+picturedir = get_picture_dir("3D_viewer/A4")
# Add path separator to the end of picture path if necessery
if not picturedir.endswith(os.sep):
import time
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1], "3D_viewer/A5")
+picturedir = get_picture_dir("3D_viewer/A5")
# Add path separator to the end of picture path if necessery
if not picturedir.endswith(os.sep):
import time
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1], "3D_viewer/A6")
+picturedir = get_picture_dir("3D_viewer/A6")
# Add path separator to the end of picture path if necessery
if not picturedir.endswith(os.sep):
import time
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1], "3D_viewer/A7")
+picturedir = get_picture_dir("3D_viewer/A7")
# Add path separator to the end of picture path if necessery
if not picturedir.endswith(os.sep):
import time
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1], "3D_viewer/A8")
+picturedir = get_picture_dir("3D_viewer/A8")
# Add path separator to the end of picture path if necessery
if not picturedir.endswith(os.sep):
return err
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1], "3D_viewer/A9")
+picturedir = get_picture_dir("3D_viewer/A9")
# Add path separator to the end of picture path if necessery
if not picturedir.endswith(os.sep):
import time
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1], "3D_viewer/B0")
+picturedir = get_picture_dir("3D_viewer/B0")
# Add path separator to the end of picture path if necessery
if not picturedir.endswith(os.sep):
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1], "3D_viewer/B2")
+picturedir = get_picture_dir("3D_viewer/B2")
# Add path separator to the end of picture path if necessery
if not picturedir.endswith(os.sep):
B2
)
SET(TIMEOUT 10000)
- ADD_TEST(3DVIEWER_${tfile} ${PYTHON_EXECUTABLE} ${PROJECT_SOURCE_DIR}/test/VisuPrs/Util/paravistesthelper.py ${TIMEOUT} ${CMAKE_CURRENT_SOURCE_DIR}/${tfile}.py ${PARAVIS_TEST_OUTPUT_DIR})
+ ADD_TEST(3DVIEWER_${tfile} ${PYTHON_EXECUTABLE} ${PROJECT_SOURCE_DIR}/test/VisuPrs/Util/paravistesthelper.py ${TIMEOUT} ${CMAKE_CURRENT_SOURCE_DIR}/${tfile}.py)
SET_TESTS_PROPERTIES(3DVIEWER_${tfile} PROPERTIES FAIL_REGULAR_EXPRESSION "FAILED" TIMEOUT ${TIMEOUT})
ENDFOREACH( tfile )
ENDIF (PYTHON_EXECUTABLE)
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1], "Animation/A0")
+picturedir = get_picture_dir("Animation/A0")
theFileName = datadir + "TimeStamps.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1], "Animation/A2")
+picturedir = get_picture_dir("Animation/A2")
theFileName = datadir + "TimeStamps.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1], "Animation/A4")
+picturedir = get_picture_dir("Animation/A4")
theFileName = datadir + "TimeStamps.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1], "Animation/A7")
+picturedir = get_picture_dir("Animation/A7")
theFileName = datadir + "TimeStamps.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1], "Animation/A8")
+picturedir = get_picture_dir("Animation/A8")
theFileName = datadir + "TimeStamps.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1], "Animation/B2")
+picturedir = get_picture_dir("Animation/B2")
theFileName = datadir + "TimeStamps.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1], "Animation/B5")
+picturedir = get_picture_dir("Animation/B5")
theFileName = datadir + "TimeStamps.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1], "Animation/B6")
+picturedir = get_picture_dir("Animation/B6")
theFileName = datadir + "TimeStamps.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1], "Animation/C0")
+picturedir = get_picture_dir("Animation/C0")
theFileName = datadir + "TimeStamps.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1], "Animation/C1")
+picturedir = get_picture_dir("Animation/C1")
theFileName = datadir + "TimeStamps.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1], "Animation/C3")
+picturedir = get_picture_dir("Animation/C3")
theFileName = datadir + "TimeStamps.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1], "Animation/C8")
+picturedir = get_picture_dir("Animation/C8")
theFileName = datadir + "TimeStamps.med"
print " --------------------------------- "
H2
)
SET(TIMEOUT 10000)
- ADD_TEST(ANIMATION_${tfile} ${PYTHON_EXECUTABLE} ${PROJECT_SOURCE_DIR}/test/VisuPrs/Util/paravistesthelper.py ${TIMEOUT} ${CMAKE_CURRENT_SOURCE_DIR}/${tfile}.py ${PARAVIS_TEST_OUTPUT_DIR})
+ ADD_TEST(ANIMATION_${tfile} ${PYTHON_EXECUTABLE} ${PROJECT_SOURCE_DIR}/test/VisuPrs/Util/paravistesthelper.py ${TIMEOUT} ${CMAKE_CURRENT_SOURCE_DIR}/${tfile}.py)
SET_TESTS_PROPERTIES(ANIMATION_${tfile} PROPERTIES FAIL_REGULAR_EXPRESSION "FAILED" TIMEOUT ${TIMEOUT})
ENDFOREACH( tfile )
ENDIF (PYTHON_EXECUTABLE)
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1], "Animation/D1")
+picturedir = get_picture_dir("Animation/D1")
theFileName = datadir + "TimeStamps.med"
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1], "Animation/D2")
+picturedir = get_picture_dir("Animation/D2")
theFileName = datadir + "TimeStamps.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1], "Animation/D6")
+picturedir = get_picture_dir("Animation/D6")
theFileName = datadir + "TimeStamps.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1], "Animation/D9")
+picturedir = get_picture_dir("Animation/D9")
theFileName = datadir + "TimeStamps.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1], "Animation/E0")
+picturedir = get_picture_dir("Animation/E0")
theFileName = datadir + "TimeStamps.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# for saving snapshots
-picturedir = get_picture_dir(sys.argv[1], "Animation/E4")
+picturedir = get_picture_dir("Animation/E4")
theFileName = datadir + "TimeStamps.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1], "Animation/E7")
+picturedir = get_picture_dir("Animation/E7")
theFileName = datadir + "TimeStamps.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# for saving snapshots
-picturedir = get_picture_dir(sys.argv[1], "Animation/E8")
+picturedir = get_picture_dir("Animation/E8")
theFileName = datadir + "TimeStamps.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1], "Animation/F2")
+picturedir = get_picture_dir("Animation/F2")
theFileName = datadir + "TimeStamps.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1], "Animation/F5")
+picturedir = get_picture_dir("Animation/F5")
theFileName = datadir + "TimeStamps.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1], "Animation/F6")
+picturedir = get_picture_dir("Animation/F6")
theFileName = datadir + "TimeStamps.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1], "Animation/G0")
+picturedir = get_picture_dir("Animation/G0")
theFileName = datadir + "TimeStamps.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1], "Animation/G3")
+picturedir = get_picture_dir("Animation/G3")
theFileName = datadir + "TimeStamps.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1], "Animation/G3")
+picturedir = get_picture_dir("Animation/G3")
theFileName = datadir + "TimeStamps.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1], "Animation/G8")
+picturedir = get_picture_dir("Animation/G8")
theFileName = datadir + "TimeStamps.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1], "Animation/H1")
+picturedir = get_picture_dir("Animation/H1")
theFileName = datadir + "TimeStamps.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1], "Animation/H2")
+picturedir = get_picture_dir("Animation/H2")
theFileName = datadir + "TimeStamps.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"CutLines/A0")
+picturedir = get_picture_dir("CutLines/A0")
file = datadir + "fra.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"CutLines/A1")
+picturedir = get_picture_dir("CutLines/A1")
file = datadir + "hexa_28320_ELEM.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"CutLines/A2")
+picturedir = get_picture_dir("CutLines/A2")
file = datadir + "pointe.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"CutLines/A3")
+picturedir = get_picture_dir("CutLines/A3")
file = datadir + "Fields_group3D.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"CutLines/A4")
+picturedir = get_picture_dir("CutLines/A4")
file = datadir + "Hexa8.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"CutLines/A5")
+picturedir = get_picture_dir("CutLines/A5")
file = datadir + "Penta6.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"CutLines/A6")
+picturedir = get_picture_dir("CutLines/A6")
file = datadir + "clo.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"CutLines/A7")
+picturedir = get_picture_dir("CutLines/A7")
file = datadir + "Tetra4.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"CutLines/A8")
+picturedir = get_picture_dir("CutLines/A8")
file = datadir + "Tria3.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"CutLines/A9")
+picturedir = get_picture_dir("CutLines/A9")
file = datadir + "Quad4.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"CutLines/B0")
+picturedir = get_picture_dir("CutLines/B0")
file = datadir + "carre_en_quad4_seg2.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"CutLines/B1")
+picturedir = get_picture_dir("CutLines/B1")
file = datadir + "carre_en_quad4_seg2_fields.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"CutLines/B2")
+picturedir = get_picture_dir("CutLines/B2")
file = datadir + "cube_hexa8_quad4.med"
print " --------------------------------- "
G2
)
SET(TIMEOUT 10000)
- ADD_TEST(CUTLINES_${tfile} ${PYTHON_EXECUTABLE} ${PROJECT_SOURCE_DIR}/test/VisuPrs/Util/paravistesthelper.py ${TIMEOUT} ${CMAKE_CURRENT_SOURCE_DIR}/${tfile}.py ${PARAVIS_TEST_OUTPUT_DIR})
+ ADD_TEST(CUTLINES_${tfile} ${PYTHON_EXECUTABLE} ${PROJECT_SOURCE_DIR}/test/VisuPrs/Util/paravistesthelper.py ${TIMEOUT} ${CMAKE_CURRENT_SOURCE_DIR}/${tfile}.py)
SET_TESTS_PROPERTIES(CUTLINES_${tfile} PROPERTIES FAIL_REGULAR_EXPRESSION "FAILED" TIMEOUT ${TIMEOUT})
ENDFOREACH( tfile )
ENDIF (PYTHON_EXECUTABLE)
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"CutLines/E0")
+picturedir = get_picture_dir("CutLines/E0")
file = datadir + "test_55_solid_concentr_dom.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"CutLines/E1")
+picturedir = get_picture_dir("CutLines/E1")
file = datadir + "H_COUPLEX1.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"CutLines/E2")
+picturedir = get_picture_dir("CutLines/E2")
file = datadir + "cas2_2d_couplage_chess_castem.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"CutLines/E3")
+picturedir = get_picture_dir("CutLines/E3")
file = datadir + "hydro_d10.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"CutLines/E4")
+picturedir = get_picture_dir("CutLines/E4")
file = datadir + "champc.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"CutLines/E5")
+picturedir = get_picture_dir("CutLines/E5")
file = datadir + "hydro_sea_alv.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"CutLines/E6")
+picturedir = get_picture_dir("CutLines/E6")
file = datadir + "toto.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"CutLines/E7")
+picturedir = get_picture_dir("CutLines/E7")
file = datadir + "couplex_alain.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"CutLines/E8")
+picturedir = get_picture_dir("CutLines/E8")
file = datadir + "KCOUPLEX1.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"CutLines/E9")
+picturedir = get_picture_dir("CutLines/E9")
file = datadir + "test_hydro.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"CutLines/F1")
+picturedir = get_picture_dir("CutLines/F1")
file = datadir + "ml.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"CutLines/F2")
+picturedir = get_picture_dir("CutLines/F2")
file = datadir + "T_COUPLEX1.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"CutLines/F3")
+picturedir = get_picture_dir("CutLines/F3")
file = datadir + "test_hydro_darcy4_out.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"CutLines/F4")
+picturedir = get_picture_dir("CutLines/F4")
file = datadir + "UO2_250ans.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"CutLines/F5")
+picturedir = get_picture_dir("CutLines/F5")
file = datadir + "maill.1.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"CutLines/F6")
+picturedir = get_picture_dir("CutLines/F6")
file = datadir + "maill.0.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"CutLines/F7")
+picturedir = get_picture_dir("CutLines/F7")
file = datadir + "occ4050.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"CutLines/F8")
+picturedir = get_picture_dir("CutLines/F8")
file = datadir + "homard_ASTER_OSF_MEDV2.1.5_1_v2.1.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"CutLines/F9")
+picturedir = get_picture_dir("CutLines/F9")
file = datadir + "homard_ASTER_OSF_MEDV2.1.5_1_v2.2.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"CutLines/G0")
+picturedir = get_picture_dir("CutLines/G0")
file = datadir + "homard_ASTER_OSF_MEDV2.1.5_1_v2.3.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"CutLines/G1")
+picturedir = get_picture_dir("CutLines/G1")
file = datadir + "maill.2.med"
print " --------------------------------- "
# Create presentations
myParavis = paravis.myParavis
-picturedir = get_picture_dir(sys.argv[1], "CutLines/G2")
+picturedir = get_picture_dir("CutLines/G2")
theFileName = datadir + "Bug829_resu_mode.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"CutPlanes/A0")
+picturedir = get_picture_dir("CutPlanes/A0")
file = datadir + "fra.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"CutPlanes/A1")
+picturedir = get_picture_dir("CutPlanes/A1")
file = datadir + "hexa_28320_ELEM.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"CutPlanes/A2")
+picturedir = get_picture_dir("CutPlanes/A2")
file = datadir + "pointe.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"CutPlanes/A3")
+picturedir = get_picture_dir("CutPlanes/A3")
file = datadir + "Fields_group3D.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"CutPlanes/A4")
+picturedir = get_picture_dir("CutPlanes/A4")
file = datadir + "Hexa8.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"CutPlanes/A5")
+picturedir = get_picture_dir("CutPlanes/A5")
file = datadir + "Penta6.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"CutPlanes/A6")
+picturedir = get_picture_dir("CutPlanes/A6")
file = datadir + "clo.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"CutPlanes/A7")
+picturedir = get_picture_dir("CutPlanes/A7")
file = datadir + "Tetra4.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"CutPlanes/A8")
+picturedir = get_picture_dir("CutPlanes/A8")
file = datadir + "Tria3.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"CutPlanes/A9")
+picturedir = get_picture_dir("CutPlanes/A9")
file = datadir + "Quad4.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"CutPlanes/B0")
+picturedir = get_picture_dir("CutPlanes/B0")
file = datadir + "carre_en_quad4_seg2.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"CutPlanes/B1")
+picturedir = get_picture_dir("CutPlanes/B1")
file = datadir + "carre_en_quad4_seg2_fields.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"CutPlanes/B2")
+picturedir = get_picture_dir("CutPlanes/B2")
file = datadir + "cube_hexa8_quad4.med"
print " --------------------------------- "
G2
)
SET(TIMEOUT 10000)
- ADD_TEST(CUTPLANES_${tfile} ${PYTHON_EXECUTABLE} ${PROJECT_SOURCE_DIR}/test/VisuPrs/Util/paravistesthelper.py ${TIMEOUT} ${CMAKE_CURRENT_SOURCE_DIR}/${tfile}.py ${PARAVIS_TEST_OUTPUT_DIR})
+ ADD_TEST(CUTPLANES_${tfile} ${PYTHON_EXECUTABLE} ${PROJECT_SOURCE_DIR}/test/VisuPrs/Util/paravistesthelper.py ${TIMEOUT} ${CMAKE_CURRENT_SOURCE_DIR}/${tfile}.py)
SET_TESTS_PROPERTIES(CUTPLANES_${tfile} PROPERTIES FAIL_REGULAR_EXPRESSION "FAILED" TIMEOUT ${TIMEOUT})
ENDFOREACH( tfile )
ENDIF (PYTHON_EXECUTABLE)
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"CutPlanes/E0")
+picturedir = get_picture_dir("CutPlanes/E0")
file = datadir + "test_55_solid_concentr_dom.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"CutPlanes/E1")
+picturedir = get_picture_dir("CutPlanes/E1")
file = datadir + "H_COUPLEX1.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"CutPlanes/E2")
+picturedir = get_picture_dir("CutPlanes/E2")
file = datadir + "cas2_2d_couplage_chess_castem.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"CutPlanes/E3")
+picturedir = get_picture_dir("CutPlanes/E3")
file = datadir + "hydro_d10.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"CutPlanes/E4")
+picturedir = get_picture_dir("CutPlanes/E4")
file = datadir + "champc.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"CutPlanes/E5")
+picturedir = get_picture_dir("CutPlanes/E5")
file = datadir + "hydro_sea_alv.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"CutPlanes/E6")
+picturedir = get_picture_dir("CutPlanes/E6")
file = datadir + "toto.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"CutPlanes/E7")
+picturedir = get_picture_dir("CutPlanes/E7")
file = datadir + "couplex_alain.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"CutPlanes/E8")
+picturedir = get_picture_dir("CutPlanes/E8")
file = datadir + "KCOUPLEX1.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"CutPlanes/E9")
+picturedir = get_picture_dir("CutPlanes/E9")
file = datadir + "test_hydro.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"CutPlanes/F1")
+picturedir = get_picture_dir("CutPlanes/F1")
file = datadir + "ml.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"CutPlanes/F2")
+picturedir = get_picture_dir("CutPlanes/F2")
file = datadir + "T_COUPLEX1.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"CutPlanes/F3")
+picturedir = get_picture_dir("CutPlanes/F3")
file = datadir + "test_hydro_darcy4_out.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"CutPlanes/F4")
+picturedir = get_picture_dir("CutPlanes/F4")
file = datadir + "UO2_250ans.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"CutPlanes/F5")
+picturedir = get_picture_dir("CutPlanes/F5")
file = datadir + "maill.1.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"CutPlanes/F6")
+picturedir = get_picture_dir("CutPlanes/F6")
file = datadir + "maill.0.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"CutPlanes/F7")
+picturedir = get_picture_dir("CutPlanes/F7")
file = datadir + "occ4050.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"CutPlanes/F8")
+picturedir = get_picture_dir("CutPlanes/F8")
file = datadir + "homard_ASTER_OSF_MEDV2.1.5_1_v2.1.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"CutPlanes/F9")
+picturedir = get_picture_dir("CutPlanes/F9")
file = datadir + "homard_ASTER_OSF_MEDV2.1.5_1_v2.2.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"CutPlanes/G0")
+picturedir = get_picture_dir("CutPlanes/G0")
file = datadir + "homard_ASTER_OSF_MEDV2.1.5_1_v2.3.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"CutPlanes/G1")
+picturedir = get_picture_dir("CutPlanes/G1")
file = datadir + "maill.2.med"
print " --------------------------------- "
# Create presentations
myParavis = paravis.myParavis
-picturedir = get_picture_dir(sys.argv[1], "CutPlanes/G2")
+picturedir = get_picture_dir("CutPlanes/G2")
theFileName = datadir + "Bug829_resu_mode.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"DeformedShape/A0")
+picturedir = get_picture_dir("DeformedShape/A0")
file = datadir + "fra.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"DeformedShape/A1")
+picturedir = get_picture_dir("DeformedShape/A1")
file = datadir + "hexa_28320_ELEM.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"DeformedShape/A2")
+picturedir = get_picture_dir("DeformedShape/A2")
file = datadir + "pointe.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"DeformedShape/A3")
+picturedir = get_picture_dir("DeformedShape/A3")
file = datadir + "Fields_group3D.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"DeformedShape/A4")
+picturedir = get_picture_dir("DeformedShape/A4")
file = datadir + "Hexa8.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"DeformedShape/A5")
+picturedir = get_picture_dir("DeformedShape/A5")
file = datadir + "Penta6.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"DeformedShape/A6")
+picturedir = get_picture_dir("DeformedShape/A6")
file = datadir + "clo.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"DeformedShape/A7")
+picturedir = get_picture_dir("DeformedShape/A7")
file = datadir + "Tetra4.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"DeformedShape/A8")
+picturedir = get_picture_dir("DeformedShape/A8")
file = datadir + "Tria3.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"DeformedShape/A9")
+picturedir = get_picture_dir("DeformedShape/A9")
file = datadir + "Quad4.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"DeformedShape/B0")
+picturedir = get_picture_dir("DeformedShape/B0")
file = datadir + "carre_en_quad4_seg2.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"DeformedShape/B1")
+picturedir = get_picture_dir("DeformedShape/B1")
file = datadir + "carre_en_quad4_seg2_fields.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"DeformedShape/B2")
+picturedir = get_picture_dir("DeformedShape/B2")
file = datadir + "cube_hexa8_quad4.med"
print " --------------------------------- "
F9
)
SET(TIMEOUT 10000)
- ADD_TEST(DEFORMEDSHAPE_${tfile} ${PYTHON_EXECUTABLE} ${PROJECT_SOURCE_DIR}/test/VisuPrs/Util/paravistesthelper.py ${TIMEOUT} ${CMAKE_CURRENT_SOURCE_DIR}/${tfile}.py ${PARAVIS_TEST_OUTPUT_DIR})
+ ADD_TEST(DEFORMEDSHAPE_${tfile} ${PYTHON_EXECUTABLE} ${PROJECT_SOURCE_DIR}/test/VisuPrs/Util/paravistesthelper.py ${TIMEOUT} ${CMAKE_CURRENT_SOURCE_DIR}/${tfile}.py)
SET_TESTS_PROPERTIES(DEFORMEDSHAPE_${tfile} PROPERTIES FAIL_REGULAR_EXPRESSION "FAILED" TIMEOUT ${TIMEOUT})
ENDFOREACH( tfile )
ENDIF (PYTHON_EXECUTABLE)
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"DeformedShape/E0")
+picturedir = get_picture_dir("DeformedShape/E0")
file = datadir + "test_55_solid_concentr_dom.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"DeformedShape/E1")
+picturedir = get_picture_dir("DeformedShape/E1")
file = datadir + "H_COUPLEX1.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"DeformedShape/E2")
+picturedir = get_picture_dir("DeformedShape/E2")
file = datadir + "cas2_2d_couplage_chess_castem.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"DeformedShape/E3")
+picturedir = get_picture_dir("DeformedShape/E3")
file = datadir + "hydro_d10.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"DeformedShape/E4")
+picturedir = get_picture_dir("DeformedShape/E4")
file = datadir + "champc.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"DeformedShape/E5")
+picturedir = get_picture_dir("DeformedShape/E5")
file = datadir + "hydro_sea_alv.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"DeformedShape/E6")
+picturedir = get_picture_dir("DeformedShape/E6")
file = datadir + "toto.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"DeformedShape/E7")
+picturedir = get_picture_dir("DeformedShape/E7")
file = datadir + "couplex_alain.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"DeformedShape/E8")
+picturedir = get_picture_dir("DeformedShape/E8")
file = datadir + "KCOUPLEX1.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"DeformedShape/E9")
+picturedir = get_picture_dir("DeformedShape/E9")
file = datadir + "test_hydro.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"DeformedShape/F1")
+picturedir = get_picture_dir("DeformedShape/F1")
file = datadir + "ml.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"DeformedShape/F2")
+picturedir = get_picture_dir("DeformedShape/F2")
file = datadir + "T_COUPLEX1.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"DeformedShape/F3")
+picturedir = get_picture_dir("DeformedShape/F3")
file = datadir + "test_hydro_darcy4_out.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"DeformedShape/F4")
+picturedir = get_picture_dir("DeformedShape/F4")
file = datadir + "UO2_250ans.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"DeformedShape/F5")
+picturedir = get_picture_dir("DeformedShape/F5")
file = datadir + "maill.1.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"DeformedShape/F6")
+picturedir = get_picture_dir("DeformedShape/F6")
file = datadir + "maill.0.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"DeformedShape/F7")
+picturedir = get_picture_dir("DeformedShape/F7")
file = datadir + "occ4050.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"DeformedShape/F8")
+picturedir = get_picture_dir("DeformedShape/F8")
file = datadir + "maill.2.med"
print " --------------------------------- "
# Create presentations
myParavis = paravis.myParavis
-picturedir = get_picture_dir(sys.argv[1], "DeformedShape/F9")
+picturedir = get_picture_dir("DeformedShape/F9")
theFileName = datadir + "Bug829_resu_mode.med"
print " --------------------------------- "
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1], "GaussPoints/A0")
+picturedir = get_picture_dir("GaussPoints/A0")
if not picturedir.endswith(os.sep):
picturedir += os.sep
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1], "GaussPoints/A1")
+picturedir = get_picture_dir("GaussPoints/A1")
if not picturedir.endswith(os.sep):
picturedir += os.sep
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1], "GaussPoints/A2")
+picturedir = get_picture_dir("GaussPoints/A2")
if not picturedir.endswith(os.sep):
picturedir += os.sep
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1], "GaussPoints/A3")
+picturedir = get_picture_dir("GaussPoints/A3")
if not picturedir.endswith(os.sep):
picturedir += os.sep
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1], "GaussPoints/A4")
+picturedir = get_picture_dir("GaussPoints/A4")
if not picturedir.endswith(os.sep):
picturedir += os.sep
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1], "GaussPoints/A5")
+picturedir = get_picture_dir("GaussPoints/A5")
if not picturedir.endswith(os.sep):
picturedir += os.sep
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1], "GaussPoints/A6")
+picturedir = get_picture_dir("GaussPoints/A6")
if not picturedir.endswith(os.sep):
picturedir += os.sep
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1], "GaussPoints/A7")
+picturedir = get_picture_dir("GaussPoints/A7")
if not picturedir.endswith(os.sep):
picturedir += os.sep
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1], "GaussPoints/A9")
+picturedir = get_picture_dir("GaussPoints/A9")
if not picturedir.endswith(os.sep):
picturedir += os.sep
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1], "GaussPoints/B0")
+picturedir = get_picture_dir("GaussPoints/B0")
if not picturedir.endswith(os.sep):
picturedir += os.sep
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1], "GaussPoints/B1")
+picturedir = get_picture_dir("GaussPoints/B1")
if not picturedir.endswith(os.sep):
picturedir += os.sep
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1], "GaussPoints/B2")
+picturedir = get_picture_dir("GaussPoints/B2")
if not picturedir.endswith(os.sep):
picturedir += os.sep
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1], "GaussPoints/B3")
+picturedir = get_picture_dir("GaussPoints/B3")
if not picturedir.endswith(os.sep):
picturedir += os.sep
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1], "GaussPoints/B4")
+picturedir = get_picture_dir("GaussPoints/B4")
if not picturedir.endswith(os.sep):
picturedir += os.sep
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1], "GaussPoints/B5")
+picturedir = get_picture_dir("GaussPoints/B5")
if not picturedir.endswith(os.sep):
picturedir += os.sep
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1], "GaussPoints/B6")
+picturedir = get_picture_dir("GaussPoints/B6")
if not picturedir.endswith(os.sep):
picturedir += os.sep
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1], "GaussPoints/B7")
+picturedir = get_picture_dir("GaussPoints/B7")
if not picturedir.endswith(os.sep):
picturedir += os.sep
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1], "GaussPoints/B8")
+picturedir = get_picture_dir("GaussPoints/B8")
if not picturedir.endswith(os.sep):
picturedir += os.sep
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1], "GaussPoints/B9")
+picturedir = get_picture_dir("GaussPoints/B9")
if not picturedir.endswith(os.sep):
picturedir += os.sep
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1], "GaussPoints/C0")
+picturedir = get_picture_dir("GaussPoints/C0")
if not picturedir.endswith(os.sep):
picturedir += os.sep
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1], "GaussPoints/C1")
+picturedir = get_picture_dir("GaussPoints/C1")
if not picturedir.endswith(os.sep):
picturedir += os.sep
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1], "GaussPoints/C2")
+picturedir = get_picture_dir("GaussPoints/C2")
if not picturedir.endswith(os.sep):
picturedir += os.sep
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1], "GaussPoints/C3")
+picturedir = get_picture_dir("GaussPoints/C3")
if not picturedir.endswith(os.sep):
picturedir += os.sep
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1], "GaussPoints/C4")
+picturedir = get_picture_dir("GaussPoints/C4")
if not picturedir.endswith(os.sep):
picturedir += os.sep
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1], "GaussPoints/C5")
+picturedir = get_picture_dir("GaussPoints/C5")
if not picturedir.endswith(os.sep):
picturedir += os.sep
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1], "GaussPoints/C6")
+picturedir = get_picture_dir("GaussPoints/C6")
if not picturedir.endswith(os.sep):
picturedir += os.sep
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1], "GaussPoints/C7")
+picturedir = get_picture_dir("GaussPoints/C7")
if not picturedir.endswith(os.sep):
picturedir += os.sep
C7
)
SET(TIMEOUT 10000)
- ADD_TEST(GAUSSPOINTS_${tfile} ${PYTHON_EXECUTABLE} ${PROJECT_SOURCE_DIR}/test/VisuPrs/Util/paravistesthelper.py ${TIMEOUT} ${CMAKE_CURRENT_SOURCE_DIR}/${tfile}.py ${PARAVIS_TEST_OUTPUT_DIR})
+ ADD_TEST(GAUSSPOINTS_${tfile} ${PYTHON_EXECUTABLE} ${PROJECT_SOURCE_DIR}/test/VisuPrs/Util/paravistesthelper.py ${TIMEOUT} ${CMAKE_CURRENT_SOURCE_DIR}/${tfile}.py)
SET_TESTS_PROPERTIES(GAUSSPOINTS_${tfile} PROPERTIES FAIL_REGULAR_EXPRESSION "FAILED" TIMEOUT ${TIMEOUT})
ENDFOREACH( tfile )
ENDIF (PYTHON_EXECUTABLE)
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"IsoSurfaces/A0")
+picturedir = get_picture_dir("IsoSurfaces/A0")
file = datadir + "fra.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"IsoSurfaces/A1")
+picturedir = get_picture_dir("IsoSurfaces/A1")
file = datadir + "hexa_28320_ELEM.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"IsoSurfaces/A2")
+picturedir = get_picture_dir("IsoSurfaces/A2")
file = datadir + "pointe.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"IsoSurfaces/A3")
+picturedir = get_picture_dir("IsoSurfaces/A3")
file = datadir + "Fields_group3D.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"IsoSurfaces/A4")
+picturedir = get_picture_dir("IsoSurfaces/A4")
file = datadir + "Hexa8.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"IsoSurfaces/A5")
+picturedir = get_picture_dir("IsoSurfaces/A5")
file = datadir + "Penta6.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"IsoSurfaces/A6")
+picturedir = get_picture_dir("IsoSurfaces/A6")
file = datadir + "clo.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"IsoSurfaces/A7")
+picturedir = get_picture_dir("IsoSurfaces/A7")
file = datadir + "Tetra4.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"IsoSurfaces/A8")
+picturedir = get_picture_dir("IsoSurfaces/A8")
file = datadir + "Tria3.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"IsoSurfaces/A9")
+picturedir = get_picture_dir("IsoSurfaces/A9")
file = datadir + "Quad4.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"IsoSurfaces/B0")
+picturedir = get_picture_dir("IsoSurfaces/B0")
file = datadir + "carre_en_quad4_seg2.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"IsoSurfaces/B1")
+picturedir = get_picture_dir("IsoSurfaces/B1")
file = datadir + "carre_en_quad4_seg2_fields.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"IsoSurfaces/B2")
+picturedir = get_picture_dir("IsoSurfaces/B2")
file = datadir + "cube_hexa8_quad4.med"
print " --------------------------------- "
G2
)
SET(TIMEOUT 10000)
- ADD_TEST(ISOSURFACES_${tfile} ${PYTHON_EXECUTABLE} ${PROJECT_SOURCE_DIR}/test/VisuPrs/Util/paravistesthelper.py ${TIMEOUT} ${CMAKE_CURRENT_SOURCE_DIR}/${tfile}.py ${PARAVIS_TEST_OUTPUT_DIR})
+ ADD_TEST(ISOSURFACES_${tfile} ${PYTHON_EXECUTABLE} ${PROJECT_SOURCE_DIR}/test/VisuPrs/Util/paravistesthelper.py ${TIMEOUT} ${CMAKE_CURRENT_SOURCE_DIR}/${tfile}.py)
SET_TESTS_PROPERTIES(ISOSURFACES_${tfile} PROPERTIES FAIL_REGULAR_EXPRESSION "FAILED" TIMEOUT ${TIMEOUT})
ENDFOREACH( tfile )
ENDIF (PYTHON_EXECUTABLE)
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"IsoSurfaces/E0")
+picturedir = get_picture_dir("IsoSurfaces/E0")
file = datadir + "test_55_solid_concentr_dom.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"IsoSurfaces/E1")
+picturedir = get_picture_dir("IsoSurfaces/E1")
file = datadir + "H_COUPLEX1.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"IsoSurfaces/E2")
+picturedir = get_picture_dir("IsoSurfaces/E2")
file = datadir + "cas2_2d_couplage_chess_castem.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"IsoSurfaces/E3")
+picturedir = get_picture_dir("IsoSurfaces/E3")
file = datadir + "hydro_d10.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"IsoSurfaces/E4")
+picturedir = get_picture_dir("IsoSurfaces/E4")
file = datadir + "champc.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"IsoSurfaces/E5")
+picturedir = get_picture_dir("IsoSurfaces/E5")
file = datadir + "hydro_sea_alv.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"IsoSurfaces/E6")
+picturedir = get_picture_dir("IsoSurfaces/E6")
file = datadir + "toto.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"IsoSurfaces/E7")
+picturedir = get_picture_dir("IsoSurfaces/E7")
file = datadir + "couplex_alain.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"IsoSurfaces/E8")
+picturedir = get_picture_dir("IsoSurfaces/E8")
file = datadir + "KCOUPLEX1.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"IsoSurfaces/E9")
+picturedir = get_picture_dir("IsoSurfaces/E9")
file = datadir + "test_hydro.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"IsoSurfaces/F1")
+picturedir = get_picture_dir("IsoSurfaces/F1")
file = datadir + "ml.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"IsoSurfaces/F2")
+picturedir = get_picture_dir("IsoSurfaces/F2")
file = datadir + "T_COUPLEX1.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"IsoSurfaces/F3")
+picturedir = get_picture_dir("IsoSurfaces/F3")
file = datadir + "test_hydro_darcy4_out.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"IsoSurfaces/F4")
+picturedir = get_picture_dir("IsoSurfaces/F4")
file = datadir + "UO2_250ans.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"IsoSurfaces/F5")
+picturedir = get_picture_dir("IsoSurfaces/F5")
file = datadir + "maill.1.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"IsoSurfaces/F6")
+picturedir = get_picture_dir("IsoSurfaces/F6")
file = datadir + "maill.0.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"IsoSurfaces/F7")
+picturedir = get_picture_dir("IsoSurfaces/F7")
file = datadir + "occ4050.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"IsoSurfaces/F8")
+picturedir = get_picture_dir("IsoSurfaces/F8")
file = datadir + "homard_ASTER_OSF_MEDV2.1.5_1_v2.1.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"IsoSurfaces/F9")
+picturedir = get_picture_dir("IsoSurfaces/F9")
file = datadir + "homard_ASTER_OSF_MEDV2.1.5_1_v2.2.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"IsoSurfaces/G0")
+picturedir = get_picture_dir("IsoSurfaces/G0")
file = datadir + "homard_ASTER_OSF_MEDV2.1.5_1_v2.3.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"IsoSurfaces/G1")
+picturedir = get_picture_dir("IsoSurfaces/G1")
file = datadir + "maill.2.med"
print " --------------------------------- "
# Create presentations
myParavis = paravis.myParavis
-picturedir = get_picture_dir(sys.argv[1], "IsoSurfaces/G2")
+picturedir = get_picture_dir("IsoSurfaces/G2")
theFileName = datadir + "Bug829_resu_mode.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"MeshPresentation/A0")
+picturedir = get_picture_dir("MeshPresentation/A0")
file = datadir + "fra.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"MeshPresentation/A1")
+picturedir = get_picture_dir("MeshPresentation/A1")
file = datadir + "hexa_28320_ELEM.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"MeshPresentation/A2")
+picturedir = get_picture_dir("MeshPresentation/A2")
file = datadir + "pointe.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"MeshPresentation/A3")
+picturedir = get_picture_dir("MeshPresentation/A3")
file = datadir + "Fields_group3D.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"MeshPresentation/A4")
+picturedir = get_picture_dir("MeshPresentation/A4")
file = datadir + "Hexa8.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"MeshPresentation/A5")
+picturedir = get_picture_dir("MeshPresentation/A5")
file = datadir + "Penta6.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"MeshPresentation/A6")
+picturedir = get_picture_dir("MeshPresentation/A6")
file = datadir + "clo.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"MeshPresentation/A7")
+picturedir = get_picture_dir("MeshPresentation/A7")
file = datadir + "Tetra4.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"MeshPresentation/A8")
+picturedir = get_picture_dir("MeshPresentation/A8")
file = datadir + "Tria3.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"MeshPresentation/A9")
+picturedir = get_picture_dir("MeshPresentation/A9")
file = datadir + "Quad4.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"MeshPresentation/B0")
+picturedir = get_picture_dir("MeshPresentation/B0")
file = datadir + "carre_en_quad4_seg2.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"MeshPresentation/B1")
+picturedir = get_picture_dir("MeshPresentation/B1")
file = datadir + "carre_en_quad4_seg2_fields.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"MeshPresentation/B2")
+picturedir = get_picture_dir("MeshPresentation/B2")
file = datadir + "cube_hexa8_quad4.med"
print " --------------------------------- "
L1
)
SET(TIMEOUT 10000)
- ADD_TEST(MESH_${tfile} ${PYTHON_EXECUTABLE} ${PROJECT_SOURCE_DIR}/test/VisuPrs/Util/paravistesthelper.py ${TIMEOUT} ${CMAKE_CURRENT_SOURCE_DIR}/${tfile}.py ${PARAVIS_TEST_OUTPUT_DIR})
+ ADD_TEST(MESH_${tfile} ${PYTHON_EXECUTABLE} ${PROJECT_SOURCE_DIR}/test/VisuPrs/Util/paravistesthelper.py ${TIMEOUT} ${CMAKE_CURRENT_SOURCE_DIR}/${tfile}.py)
SET_TESTS_PROPERTIES(MESH_${tfile} PROPERTIES FAIL_REGULAR_EXPRESSION "FAILED" TIMEOUT ${TIMEOUT})
ENDFOREACH( tfile )
ENDIF (PYTHON_EXECUTABLE)
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"MeshPresentation/E0")
+picturedir = get_picture_dir("MeshPresentation/E0")
file = datadir + "test_55_solid_concentr_dom.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"MeshPresentation/E1")
+picturedir = get_picture_dir("MeshPresentation/E1")
file = datadir + "H_COUPLEX1.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"MeshPresentation/E2")
+picturedir = get_picture_dir("MeshPresentation/E2")
file = datadir + "cas2_2d_couplage_chess_castem.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"MeshPresentation/E3")
+picturedir = get_picture_dir("MeshPresentation/E3")
file = datadir + "hydro_d10.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"MeshPresentation/E4")
+picturedir = get_picture_dir("MeshPresentation/E4")
file = datadir + "champc.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"MeshPresentation/E5")
+picturedir = get_picture_dir("MeshPresentation/E5")
file = datadir + "hydro_sea_alv.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"MeshPresentation/E6")
+picturedir = get_picture_dir("MeshPresentation/E6")
file = datadir + "toto.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"MeshPresentation/E7")
+picturedir = get_picture_dir("MeshPresentation/E7")
file = datadir + "couplex_alain.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"MeshPresentation/E8")
+picturedir = get_picture_dir("MeshPresentation/E8")
file = datadir + "KCOUPLEX1.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"MeshPresentation/E9")
+picturedir = get_picture_dir("MeshPresentation/E9")
file = datadir + "test_hydro.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"MeshPresentation/F0")
+picturedir = get_picture_dir("MeshPresentation/F0")
file = datadir + "gro5couches.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"MeshPresentation/F1")
+picturedir = get_picture_dir("MeshPresentation/F1")
file = datadir + "ml.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"MeshPresentation/F2")
+picturedir = get_picture_dir("MeshPresentation/F2")
file = datadir + "T_COUPLEX1.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"MeshPresentation/F3")
+picturedir = get_picture_dir("MeshPresentation/F3")
file = datadir + "test_hydro_darcy4_out.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"MeshPresentation/F4")
+picturedir = get_picture_dir("MeshPresentation/F4")
file = datadir + "UO2_250ans.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"MeshPresentation/F5")
+picturedir = get_picture_dir("MeshPresentation/F5")
file = datadir + "maill.1.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"MeshPresentation/F6")
+picturedir = get_picture_dir("MeshPresentation/F6")
file = datadir + "maill.0.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"MeshPresentation/F7")
+picturedir = get_picture_dir("MeshPresentation/F7")
file = datadir + "occ4050.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"MeshPresentation/F8")
+picturedir = get_picture_dir("MeshPresentation/F8")
file = datadir + "homard_ASTER_OSF_MEDV2.1.5_1_v2.1.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"MeshPresentation/F9")
+picturedir = get_picture_dir("MeshPresentation/F9")
file = datadir + "homard_ASTER_OSF_MEDV2.1.5_1_v2.2.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"MeshPresentation/G0")
+picturedir = get_picture_dir("MeshPresentation/G0")
file = datadir + "homard_ASTER_OSF_MEDV2.1.5_1_v2.3.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"MeshPresentation/G1")
+picturedir = get_picture_dir("MeshPresentation/G1")
file = datadir + "maill.2.med"
print " --------------------------------- "
# Create presentations
myParavis = paravis.myParavis
-picturedir = get_picture_dir(sys.argv[1], "MeshPresentation/G3")
+picturedir = get_picture_dir("MeshPresentation/G3")
theFileName = datadir + "Box1.med"
print " --------------------------------- "
# Create presentations
myParavis = paravis.myParavis
-picturedir = get_picture_dir(sys.argv[1], "MeshPresentation/G4")
+picturedir = get_picture_dir("MeshPresentation/G4")
theFileName = datadir + "Box1Moderate.med"
print " --------------------------------- "
# Create presentations
myParavis = paravis.myParavis
-picturedir = get_picture_dir(sys.argv[1], "MeshPresentation/G5")
+picturedir = get_picture_dir("MeshPresentation/G5")
theFileName = datadir + "Box2.med"
print " --------------------------------- "
# Create presentations
myParavis = paravis.myParavis
-picturedir = get_picture_dir(sys.argv[1], "MeshPresentation/G6")
+picturedir = get_picture_dir("MeshPresentation/G6")
theFileName = datadir + "Box2Moderate.med"
print " --------------------------------- "
# Create presentations
myParavis = paravis.myParavis
-picturedir = get_picture_dir(sys.argv[1], "MeshPresentation/G7")
+picturedir = get_picture_dir("MeshPresentation/G7")
theFileName = datadir + "Box3.med"
print " --------------------------------- "
# Create presentations
myParavis = paravis.myParavis
-picturedir = get_picture_dir(sys.argv[1], "MeshPresentation/G8")
+picturedir = get_picture_dir("MeshPresentation/G8")
theFileName = datadir + "BoxEvenSmaller1.med"
print " --------------------------------- "
# Create presentations
myParavis = paravis.myParavis
-picturedir = get_picture_dir(sys.argv[1], "MeshPresentation/G9")
+picturedir = get_picture_dir("MeshPresentation/G9")
theFileName = datadir + "BoxHexa1.med"
print " --------------------------------- "
# Create presentations
myParavis = paravis.myParavis
-picturedir = get_picture_dir(sys.argv[1], "MeshPresentation/H0")
+picturedir = get_picture_dir("MeshPresentation/H0")
theFileName = datadir + "BoxHexa2.med"
print " --------------------------------- "
# Create presentations
myParavis = paravis.myParavis
-picturedir = get_picture_dir(sys.argv[1], "MeshPresentation/H1")
+picturedir = get_picture_dir("MeshPresentation/H1")
theFileName = datadir + "BoxModSmall1.med"
print " --------------------------------- "
# Create presentations
myParavis = paravis.myParavis
-picturedir = get_picture_dir(sys.argv[1], "MeshPresentation/H2")
+picturedir = get_picture_dir("MeshPresentation/H2")
theFileName = datadir + "BoxModSmall2.med"
print " --------------------------------- "
# Create presentations
myParavis = paravis.myParavis
-picturedir = get_picture_dir(sys.argv[1], "MeshPresentation/H3")
+picturedir = get_picture_dir("MeshPresentation/H3")
theFileName = datadir + "BoxTetra2.med"
print " --------------------------------- "
# Create presentations
myParavis = paravis.myParavis
-picturedir = get_picture_dir(sys.argv[1], "MeshPresentation/H4")
+picturedir = get_picture_dir("MeshPresentation/H4")
theFileName = datadir + "ComplexIncludedTetra.med"
print " --------------------------------- "
# Create presentations
myParavis = paravis.myParavis
-picturedir = get_picture_dir(sys.argv[1], "MeshPresentation/H5")
+picturedir = get_picture_dir("MeshPresentation/H5")
theFileName = datadir + "ComplexIncludingTetra.med"
print " --------------------------------- "
# Create presentations
myParavis = paravis.myParavis
-picturedir = get_picture_dir(sys.argv[1], "MeshPresentation/H6")
+picturedir = get_picture_dir("MeshPresentation/H6")
theFileName = datadir + "CornerTetra.med"
print " --------------------------------- "
# Create presentations
myParavis = paravis.myParavis
-picturedir = get_picture_dir(sys.argv[1], "MeshPresentation/H7")
+picturedir = get_picture_dir("MeshPresentation/H7")
theFileName = datadir + "DegenEdgeXY.med"
print " --------------------------------- "
# Create presentations
myParavis = paravis.myParavis
-picturedir = get_picture_dir(sys.argv[1], "MeshPresentation/H8")
+picturedir = get_picture_dir("MeshPresentation/H8")
theFileName = datadir + "DegenFaceXYZ.med"
print " --------------------------------- "
# Create presentations
myParavis = paravis.myParavis
-picturedir = get_picture_dir(sys.argv[1], "MeshPresentation/H9")
+picturedir = get_picture_dir("MeshPresentation/H9")
theFileName = datadir + "DegenTranslatedInPlane.med"
print " --------------------------------- "
# Create presentations
myParavis = paravis.myParavis
-picturedir = get_picture_dir(sys.argv[1], "MeshPresentation/I0")
+picturedir = get_picture_dir("MeshPresentation/I0")
theFileName = datadir + "TinyBox.med"
print " --------------------------------- "
# Create presentations
myParavis = paravis.myParavis
-picturedir = get_picture_dir(sys.argv[1], "MeshPresentation/I1")
+picturedir = get_picture_dir("MeshPresentation/I1")
theFileName = datadir + "TrickyTetra1.med"
print " --------------------------------- "
# Create presentations
myParavis = paravis.myParavis
-picturedir = get_picture_dir(sys.argv[1], "MeshPresentation/I2")
+picturedir = get_picture_dir("MeshPresentation/I2")
theFileName = datadir + "UnitTetra.med"
print " --------------------------------- "
# Create presentations
myParavis = paravis.myParavis
-picturedir = get_picture_dir(sys.argv[1], "MeshPresentation/I3")
+picturedir = get_picture_dir("MeshPresentation/I3")
theFileName = datadir + "UnitTetraDegenT.med"
print " --------------------------------- "
# Create presentations
myParavis = paravis.myParavis
-picturedir = get_picture_dir(sys.argv[1], "MeshPresentation/I4")
+picturedir = get_picture_dir("MeshPresentation/I4")
theFileName = datadir + "square1.med"
print " --------------------------------- "
# Create presentations
myParavis = paravis.myParavis
-picturedir = get_picture_dir(sys.argv[1], "MeshPresentation/I5")
+picturedir = get_picture_dir("MeshPresentation/I5")
theFileName = datadir + "square1_split1.med"
print " --------------------------------- "
# Create presentations
myParavis = paravis.myParavis
-picturedir = get_picture_dir(sys.argv[1], "MeshPresentation/I6")
+picturedir = get_picture_dir("MeshPresentation/I6")
theFileName = datadir + "square1_split2.med"
print " --------------------------------- "
# Create presentations
myParavis = paravis.myParavis
-picturedir = get_picture_dir(sys.argv[1], "MeshPresentation/I7")
+picturedir = get_picture_dir("MeshPresentation/I7")
theFileName = datadir + "square1_split3.med"
print " --------------------------------- "
# Create presentations
myParavis = paravis.myParavis
-picturedir = get_picture_dir(sys.argv[1], "MeshPresentation/I8")
+picturedir = get_picture_dir("MeshPresentation/I8")
theFileName = datadir + "square2.med"
print " --------------------------------- "
# Create presentations
myParavis = paravis.myParavis
-picturedir = get_picture_dir(sys.argv[1], "MeshPresentation/I9")
+picturedir = get_picture_dir("MeshPresentation/I9")
theFileName = datadir + "square2_split1.med"
print " --------------------------------- "
# Create presentations
myParavis = paravis.myParavis
-picturedir = get_picture_dir(sys.argv[1], "MeshPresentation/J0")
+picturedir = get_picture_dir("MeshPresentation/J0")
theFileName = datadir + "DividedGenTetra1.med"
print " --------------------------------- "
# Create presentations
myParavis = paravis.myParavis
-picturedir = get_picture_dir(sys.argv[1], "MeshPresentation/J1")
+picturedir = get_picture_dir("MeshPresentation/J1")
theFileName = datadir + "DividedGenTetra2.med"
print " --------------------------------- "
# Create presentations
myParavis = paravis.myParavis
-picturedir = get_picture_dir(sys.argv[1], "MeshPresentation/J2")
+picturedir = get_picture_dir("MeshPresentation/J2")
theFileName = datadir + "DividedUnitTetra.med"
print " --------------------------------- "
# Create presentations
myParavis = paravis.myParavis
-picturedir = get_picture_dir(sys.argv[1], "MeshPresentation/J3")
+picturedir = get_picture_dir("MeshPresentation/J3")
theFileName = datadir + "DividedUnitTetraSimpler.med"
print " --------------------------------- "
# Create presentations
myParavis = paravis.myParavis
-picturedir = get_picture_dir(sys.argv[1], "MeshPresentation/J4")
+picturedir = get_picture_dir("MeshPresentation/J4")
theFileName = datadir + "GenTetra1.med"
print " --------------------------------- "
# Create presentations
myParavis = paravis.myParavis
-picturedir = get_picture_dir(sys.argv[1], "MeshPresentation/J5")
+picturedir = get_picture_dir("MeshPresentation/J5")
theFileName = datadir + "GenTetra2.med"
print " --------------------------------- "
# Create presentations
myParavis = paravis.myParavis
-picturedir = get_picture_dir(sys.argv[1], "MeshPresentation/J6")
+picturedir = get_picture_dir("MeshPresentation/J6")
theFileName = datadir + "GeneralTetra.med"
print " --------------------------------- "
# Create presentations
myParavis = paravis.myParavis
-picturedir = get_picture_dir(sys.argv[1], "MeshPresentation/J7")
+picturedir = get_picture_dir("MeshPresentation/J7")
theFileName = datadir + "HalfstripOnly.med"
print " --------------------------------- "
# Create presentations
myParavis = paravis.myParavis
-picturedir = get_picture_dir(sys.argv[1], "MeshPresentation/J8")
+picturedir = get_picture_dir("MeshPresentation/J8")
theFileName = datadir + "HalfstripOnly2.med"
print " --------------------------------- "
# Create presentations
myParavis = paravis.myParavis
-picturedir = get_picture_dir(sys.argv[1], "MeshPresentation/J9")
+picturedir = get_picture_dir("MeshPresentation/J9")
theFileName = datadir + "LargeInconsistentTetra.med"
print " --------------------------------- "
# Create presentations
myParavis = paravis.myParavis
-picturedir = get_picture_dir(sys.argv[1], "MeshPresentation/K0")
+picturedir = get_picture_dir("MeshPresentation/K0")
theFileName = datadir + "LargeUnitTetra.med"
print " --------------------------------- "
# Create presentations
myParavis = paravis.myParavis
-picturedir = get_picture_dir(sys.argv[1], "MeshPresentation/K1")
+picturedir = get_picture_dir("MeshPresentation/K1")
theFileName = datadir + "MovedHexaBox1.med"
print " --------------------------------- "
# Create presentations
myParavis = paravis.myParavis
-picturedir = get_picture_dir(sys.argv[1], "MeshPresentation/K2")
+picturedir = get_picture_dir("MeshPresentation/K2")
theFileName = datadir + "MovedHexaBox2.med"
print " --------------------------------- "
# Create presentations
myParavis = paravis.myParavis
-picturedir = get_picture_dir(sys.argv[1], "MeshPresentation/K3")
+picturedir = get_picture_dir("MeshPresentation/K3")
theFileName = datadir + "NudgedDividedUnitTetra.med"
print " --------------------------------- "
# Create presentations
myParavis = paravis.myParavis
-picturedir = get_picture_dir(sys.argv[1], "MeshPresentation/K4")
+picturedir = get_picture_dir("MeshPresentation/K4")
theFileName = datadir + "NudgedDividedUnitTetraSimpler.med"
print " --------------------------------- "
# Create presentations
myParavis = paravis.myParavis
-picturedir = get_picture_dir(sys.argv[1], "MeshPresentation/K5")
+picturedir = get_picture_dir("MeshPresentation/K5")
theFileName = datadir + "NudgedSimpler.med"
print " --------------------------------- "
# Create presentations
myParavis = paravis.myParavis
-picturedir = get_picture_dir(sys.argv[1], "MeshPresentation/K6")
+picturedir = get_picture_dir("MeshPresentation/K6")
theFileName = datadir + "NudgedTetra.med"
print " --------------------------------- "
# Create presentations
myParavis = paravis.myParavis
-picturedir = get_picture_dir(sys.argv[1], "MeshPresentation/K7")
+picturedir = get_picture_dir("MeshPresentation/K7")
theFileName = datadir + "SimpleHalfstripOnly.med"
print " --------------------------------- "
# Create presentations
myParavis = paravis.myParavis
-picturedir = get_picture_dir(sys.argv[1], "MeshPresentation/K8")
+picturedir = get_picture_dir("MeshPresentation/K8")
theFileName = datadir + "SimpleIncludedTetra.med"
print " --------------------------------- "
# Create presentations
myParavis = paravis.myParavis
-picturedir = get_picture_dir(sys.argv[1], "MeshPresentation/K9")
+picturedir = get_picture_dir("MeshPresentation/K9")
theFileName = datadir + "SimpleIncludingTetra.med"
print " --------------------------------- "
# Create presentations
myParavis = paravis.myParavis
-picturedir = get_picture_dir(sys.argv[1], "MeshPresentation/L0")
+picturedir = get_picture_dir("MeshPresentation/L0")
theFileName = datadir + "square2_split2.med"
print " --------------------------------- "
# Create presentations
myParavis = paravis.myParavis
-picturedir = get_picture_dir(sys.argv[1], "MeshPresentation/L1")
+picturedir = get_picture_dir("MeshPresentation/L1")
theFileName = datadir + "Bug829_resu_mode.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"Plot3D/A0")
+picturedir = get_picture_dir("Plot3D/A0")
file = datadir + "fra.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"Plot3D/A1")
+picturedir = get_picture_dir("Plot3D/A1")
file = datadir + "hexa_28320_ELEM.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"Plot3D/A2")
+picturedir = get_picture_dir("Plot3D/A2")
file = datadir + "pointe.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"Plot3D/A3")
+picturedir = get_picture_dir("Plot3D/A3")
file = datadir + "Fields_group3D.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"Plot3D/A4")
+picturedir = get_picture_dir("Plot3D/A4")
file = datadir + "Hexa8.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"Plot3D/A5")
+picturedir = get_picture_dir("Plot3D/A5")
file = datadir + "Penta6.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"Plot3D/A6")
+picturedir = get_picture_dir("Plot3D/A6")
file = datadir + "clo.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"Plot3D/A7")
+picturedir = get_picture_dir("Plot3D/A7")
file = datadir + "Tetra4.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"Plot3D/A8")
+picturedir = get_picture_dir("Plot3D/A8")
file = datadir + "Tria3.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"Plot3D/A9")
+picturedir = get_picture_dir("Plot3D/A9")
file = datadir + "Quad4.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"Plot3D/B0")
+picturedir = get_picture_dir("Plot3D/B0")
file = datadir + "carre_en_quad4_seg2.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"Plot3D/B1")
+picturedir = get_picture_dir("Plot3D/B1")
file = datadir + "carre_en_quad4_seg2_fields.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"Plot3D/B2")
+picturedir = get_picture_dir("Plot3D/B2")
file = datadir + "cube_hexa8_quad4.med"
print " --------------------------------- "
G2
)
SET(TIMEOUT 10000)
- ADD_TEST(PLOT3D_${tfile} ${PYTHON_EXECUTABLE} ${PROJECT_SOURCE_DIR}/test/VisuPrs/Util/paravistesthelper.py ${TIMEOUT} ${CMAKE_CURRENT_SOURCE_DIR}/${tfile}.py ${PARAVIS_TEST_OUTPUT_DIR})
+ ADD_TEST(PLOT3D_${tfile} ${PYTHON_EXECUTABLE} ${PROJECT_SOURCE_DIR}/test/VisuPrs/Util/paravistesthelper.py ${TIMEOUT} ${CMAKE_CURRENT_SOURCE_DIR}/${tfile}.py)
SET_TESTS_PROPERTIES(PLOT3D_${tfile} PROPERTIES FAIL_REGULAR_EXPRESSION "FAILED" TIMEOUT ${TIMEOUT})
ENDFOREACH( tfile )
ENDIF (PYTHON_EXECUTABLE)
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"Plot3D/E0")
+picturedir = get_picture_dir("Plot3D/E0")
file = datadir + "test_55_solid_concentr_dom.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"Plot3D/E1")
+picturedir = get_picture_dir("Plot3D/E1")
file = datadir + "H_COUPLEX1.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"Plot3D/E2")
+picturedir = get_picture_dir("Plot3D/E2")
file = datadir + "cas2_2d_couplage_chess_castem.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"Plot3D/E3")
+picturedir = get_picture_dir("Plot3D/E3")
file = datadir + "hydro_d10.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"Plot3D/E4")
+picturedir = get_picture_dir("Plot3D/E4")
file = datadir + "champc.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"Plot3D/E5")
+picturedir = get_picture_dir("Plot3D/E5")
file = datadir + "hydro_sea_alv.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"Plot3D/E6")
+picturedir = get_picture_dir("Plot3D/E6")
file = datadir + "toto.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"Plot3D/E7")
+picturedir = get_picture_dir("Plot3D/E7")
file = datadir + "couplex_alain.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"Plot3D/E8")
+picturedir = get_picture_dir("Plot3D/E8")
file = datadir + "KCOUPLEX1.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"Plot3D/E9")
+picturedir = get_picture_dir("Plot3D/E9")
file = datadir + "test_hydro.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"Plot3D/F1")
+picturedir = get_picture_dir("Plot3D/F1")
file = datadir + "ml.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"Plot3D/F2")
+picturedir = get_picture_dir("Plot3D/F2")
file = datadir + "T_COUPLEX1.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"Plot3D/F3")
+picturedir = get_picture_dir("Plot3D/F3")
file = datadir + "test_hydro_darcy4_out.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"Plot3D/F4")
+picturedir = get_picture_dir("Plot3D/F4")
file = datadir + "UO2_250ans.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"Plot3D/F5")
+picturedir = get_picture_dir("Plot3D/F5")
file = datadir + "maill.1.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"Plot3D/F6")
+picturedir = get_picture_dir("Plot3D/F6")
file = datadir + "maill.0.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"Plot3D/F7")
+picturedir = get_picture_dir("Plot3D/F7")
file = datadir + "occ4050.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"Plot3D/F8")
+picturedir = get_picture_dir("Plot3D/F8")
file = datadir + "homard_ASTER_OSF_MEDV2.1.5_1_v2.1.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"Plot3D/F9")
+picturedir = get_picture_dir("Plot3D/F9")
file = datadir + "homard_ASTER_OSF_MEDV2.1.5_1_v2.2.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"Plot3D/G0")
+picturedir = get_picture_dir("Plot3D/G0")
file = datadir + "homard_ASTER_OSF_MEDV2.1.5_1_v2.3.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"Plot3D/G1")
+picturedir = get_picture_dir("Plot3D/G1")
file = datadir + "maill.2.med"
print " --------------------------------- "
# Create presentations
myParavis = paravis.myParavis
-picturedir = get_picture_dir(sys.argv[1], "Plot3D/G2")
+picturedir = get_picture_dir("Plot3D/G2")
theFileName = datadir + "Bug829_resu_mode.med"
print " --------------------------------- "
# Write image
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1], "SWIG_scripts/C7")
+picturedir = get_picture_dir("SWIG_scripts/C7")
if not picturedir.endswith(os.sep):
picturedir += os.sep
C7
)
SET(TIMEOUT 10000)
- ADD_TEST(SWIGSCRIPTS_${tfile} ${PYTHON_EXECUTABLE} ${PROJECT_SOURCE_DIR}/test/VisuPrs/Util/paravistesthelper.py ${TIMEOUT} ${CMAKE_CURRENT_SOURCE_DIR}/${tfile}.py ${PARAVIS_TEST_OUTPUT_DIR})
+ ADD_TEST(SWIGSCRIPTS_${tfile} ${PYTHON_EXECUTABLE} ${PROJECT_SOURCE_DIR}/test/VisuPrs/Util/paravistesthelper.py ${TIMEOUT} ${CMAKE_CURRENT_SOURCE_DIR}/${tfile}.py)
SET_TESTS_PROPERTIES(SWIGSCRIPTS_${tfile} PROPERTIES FAIL_REGULAR_EXPRESSION "FAILED" TIMEOUT ${TIMEOUT})
ENDFOREACH( tfile )
ENDIF (PYTHON_EXECUTABLE)
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"ScalarMap/A0")
+picturedir = get_picture_dir("ScalarMap/A0")
file = datadir + "fra.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"ScalarMap/A1")
+picturedir = get_picture_dir("ScalarMap/A1")
file = datadir + "hexa_28320_ELEM.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"ScalarMap/A2")
+picturedir = get_picture_dir("ScalarMap/A2")
file = datadir + "pointe.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"ScalarMap/A3")
+picturedir = get_picture_dir("ScalarMap/A3")
file = datadir + "Fields_group3D.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"ScalarMap/A4")
+picturedir = get_picture_dir("ScalarMap/A4")
file = datadir + "Hexa8.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"ScalarMap/A5")
+picturedir = get_picture_dir("ScalarMap/A5")
file = datadir + "Penta6.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"ScalarMap/A6")
+picturedir = get_picture_dir("ScalarMap/A6")
file = datadir + "clo.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"ScalarMap/A7")
+picturedir = get_picture_dir("ScalarMap/A7")
file = datadir + "Tetra4.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"ScalarMap/A8")
+picturedir = get_picture_dir("ScalarMap/A8")
file = datadir + "Tria3.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"ScalarMap/A9")
+picturedir = get_picture_dir("ScalarMap/A9")
file = datadir + "Quad4.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"ScalarMap/B0")
+picturedir = get_picture_dir("ScalarMap/B0")
file = datadir + "carre_en_quad4_seg2.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"ScalarMap/B1")
+picturedir = get_picture_dir("ScalarMap/B1")
file = datadir + "carre_en_quad4_seg2_fields.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"ScalarMap/B2")
+picturedir = get_picture_dir("ScalarMap/B2")
file = datadir + "cube_hexa8_quad4.med"
print " --------------------------------- "
G2
)
SET(TIMEOUT 10000)
- ADD_TEST(SCALARMAP_${tfile} ${PYTHON_EXECUTABLE} ${PROJECT_SOURCE_DIR}/test/VisuPrs/Util/paravistesthelper.py ${TIMEOUT} ${CMAKE_CURRENT_SOURCE_DIR}/${tfile}.py ${PARAVIS_TEST_OUTPUT_DIR})
+ ADD_TEST(SCALARMAP_${tfile} ${PYTHON_EXECUTABLE} ${PROJECT_SOURCE_DIR}/test/VisuPrs/Util/paravistesthelper.py ${TIMEOUT} ${CMAKE_CURRENT_SOURCE_DIR}/${tfile}.py)
SET_TESTS_PROPERTIES(SCALARMAP_${tfile} PROPERTIES FAIL_REGULAR_EXPRESSION "FAILED" TIMEOUT ${TIMEOUT})
ENDFOREACH( tfile )
ENDIF (PYTHON_EXECUTABLE)
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"ScalarMap/E0")
+picturedir = get_picture_dir("ScalarMap/E0")
file = datadir + "test_55_solid_concentr_dom.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"ScalarMap/E1")
+picturedir = get_picture_dir("ScalarMap/E1")
file = datadir + "H_COUPLEX1.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"ScalarMap/E2")
+picturedir = get_picture_dir("ScalarMap/E2")
file = datadir + "cas2_2d_couplage_chess_castem.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"ScalarMap/E3")
+picturedir = get_picture_dir("ScalarMap/E3")
file = datadir + "hydro_d10.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"ScalarMap/E4")
+picturedir = get_picture_dir("ScalarMap/E4")
file = datadir + "champc.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"ScalarMap/E5")
+picturedir = get_picture_dir("ScalarMap/E5")
file = datadir + "hydro_sea_alv.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"ScalarMap/E6")
+picturedir = get_picture_dir("ScalarMap/E6")
file = datadir + "toto.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"ScalarMap/E7")
+picturedir = get_picture_dir("ScalarMap/E7")
file = datadir + "couplex_alain.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"ScalarMap/E8")
+picturedir = get_picture_dir("ScalarMap/E8")
file = datadir + "KCOUPLEX1.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"ScalarMap/E9")
+picturedir = get_picture_dir("ScalarMap/E9")
file = datadir + "test_hydro.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"ScalarMap/F1")
+picturedir = get_picture_dir("ScalarMap/F1")
file = datadir + "ml.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"ScalarMap/F2")
+picturedir = get_picture_dir("ScalarMap/F2")
file = datadir + "T_COUPLEX1.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"ScalarMap/F3")
+picturedir = get_picture_dir("ScalarMap/F3")
file = datadir + "test_hydro_darcy4_out.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"ScalarMap/F4")
+picturedir = get_picture_dir("ScalarMap/F4")
file = datadir + "UO2_250ans.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"ScalarMap/F5")
+picturedir = get_picture_dir("ScalarMap/F5")
file = datadir + "maill.1.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"ScalarMap/F6")
+picturedir = get_picture_dir("ScalarMap/F6")
file = datadir + "maill.0.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"ScalarMap/F7")
+picturedir = get_picture_dir("ScalarMap/F7")
file = datadir + "occ4050.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"ScalarMap/F8")
+picturedir = get_picture_dir("ScalarMap/F8")
file = datadir + "homard_ASTER_OSF_MEDV2.1.5_1_v2.1.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"ScalarMap/F9")
+picturedir = get_picture_dir("ScalarMap/F9")
file = datadir + "homard_ASTER_OSF_MEDV2.1.5_1_v2.2.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"ScalarMap/G0")
+picturedir = get_picture_dir("ScalarMap/G0")
file = datadir + "homard_ASTER_OSF_MEDV2.1.5_1_v2.3.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"ScalarMap/G1")
+picturedir = get_picture_dir("ScalarMap/G1")
file = datadir + "maill.2.med"
print " --------------------------------- "
# Create presentations
myParavis = paravis.myParavis
-picturedir = get_picture_dir(sys.argv[1], "ScalarMap/G2")
+picturedir = get_picture_dir("ScalarMap/G2")
theFileName = datadir + "Bug829_resu_mode.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"ScalarMap_On_DeformedShape/A0")
+picturedir = get_picture_dir("ScalarMap_On_DeformedShape/A0")
file = datadir + "fra.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"ScalarMap_On_DeformedShape/A1")
+picturedir = get_picture_dir("ScalarMap_On_DeformedShape/A1")
file = datadir + "hexa_28320_ELEM.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"ScalarMap_On_DeformedShape/A2")
+picturedir = get_picture_dir("ScalarMap_On_DeformedShape/A2")
file = datadir + "pointe.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"ScalarMap_On_DeformedShape/A3")
+picturedir = get_picture_dir("ScalarMap_On_DeformedShape/A3")
file = datadir + "Fields_group3D.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"ScalarMap_On_DeformedShape/A4")
+picturedir = get_picture_dir("ScalarMap_On_DeformedShape/A4")
file = datadir + "Hexa8.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"ScalarMap_On_DeformedShape/A5")
+picturedir = get_picture_dir("ScalarMap_On_DeformedShape/A5")
file = datadir + "Penta6.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"ScalarMap_On_DeformedShape/A6")
+picturedir = get_picture_dir("ScalarMap_On_DeformedShape/A6")
file = datadir + "clo.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"ScalarMap_On_DeformedShape/A7")
+picturedir = get_picture_dir("ScalarMap_On_DeformedShape/A7")
file = datadir + "Tetra4.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"ScalarMap_On_DeformedShape/A8")
+picturedir = get_picture_dir("ScalarMap_On_DeformedShape/A8")
file = datadir + "Tria3.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"ScalarMap_On_DeformedShape/A9")
+picturedir = get_picture_dir("ScalarMap_On_DeformedShape/A9")
file = datadir + "Quad4.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"ScalarMap_On_DeformedShape/B0")
+picturedir = get_picture_dir("ScalarMap_On_DeformedShape/B0")
file = datadir + "carre_en_quad4_seg2.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"ScalarMap_On_DeformedShape/B1")
+picturedir = get_picture_dir("ScalarMap_On_DeformedShape/B1")
file = datadir + "carre_en_quad4_seg2_fields.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"ScalarMap_On_DeformedShape/B2")
+picturedir = get_picture_dir("ScalarMap_On_DeformedShape/B2")
file = datadir + "cube_hexa8_quad4.med"
print " --------------------------------- "
F8
)
SET(TIMEOUT 10000)
- ADD_TEST(DEFORMEDSHAPESCALARMAP_${tfile} ${PYTHON_EXECUTABLE} ${PROJECT_SOURCE_DIR}/test/VisuPrs/Util/paravistesthelper.py ${TIMEOUT} ${CMAKE_CURRENT_SOURCE_DIR}/${tfile}.py ${PARAVIS_TEST_OUTPUT_DIR})
+ ADD_TEST(DEFORMEDSHAPESCALARMAP_${tfile} ${PYTHON_EXECUTABLE} ${PROJECT_SOURCE_DIR}/test/VisuPrs/Util/paravistesthelper.py ${TIMEOUT} ${CMAKE_CURRENT_SOURCE_DIR}/${tfile}.py)
SET_TESTS_PROPERTIES(DEFORMEDSHAPESCALARMAP_${tfile} PROPERTIES FAIL_REGULAR_EXPRESSION "FAILED" TIMEOUT ${TIMEOUT})
ENDFOREACH( tfile )
ENDIF (PYTHON_EXECUTABLE)
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"ScalarMap_On_DeformedShape/E0")
+picturedir = get_picture_dir("ScalarMap_On_DeformedShape/E0")
file = datadir + "test_55_solid_concentr_dom.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"ScalarMap_On_DeformedShape/E1")
+picturedir = get_picture_dir("ScalarMap_On_DeformedShape/E1")
file = datadir + "H_COUPLEX1.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"ScalarMap_On_DeformedShape/E2")
+picturedir = get_picture_dir("ScalarMap_On_DeformedShape/E2")
file = datadir + "cas2_2d_couplage_chess_castem.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"ScalarMap_On_DeformedShape/E3")
+picturedir = get_picture_dir("ScalarMap_On_DeformedShape/E3")
file = datadir + "hydro_d10.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"ScalarMap_On_DeformedShape/E4")
+picturedir = get_picture_dir("ScalarMap_On_DeformedShape/E4")
file = datadir + "champc.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"ScalarMap_On_DeformedShape/E5")
+picturedir = get_picture_dir("ScalarMap_On_DeformedShape/E5")
file = datadir + "hydro_sea_alv.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"ScalarMap_On_DeformedShape/E6")
+picturedir = get_picture_dir("ScalarMap_On_DeformedShape/E6")
file = datadir + "toto.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"ScalarMap_On_DeformedShape/E7")
+picturedir = get_picture_dir("ScalarMap_On_DeformedShape/E7")
file = datadir + "couplex_alain.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"ScalarMap_On_DeformedShape/E8")
+picturedir = get_picture_dir("ScalarMap_On_DeformedShape/E8")
file = datadir + "KCOUPLEX1.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"ScalarMap_On_DeformedShape/E9")
+picturedir = get_picture_dir("ScalarMap_On_DeformedShape/E9")
file = datadir + "test_hydro.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"ScalarMap_On_DeformedShape/F1")
+picturedir = get_picture_dir("ScalarMap_On_DeformedShape/F1")
file = datadir + "ml.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"ScalarMap_On_DeformedShape/F2")
+picturedir = get_picture_dir("ScalarMap_On_DeformedShape/F2")
file = datadir + "T_COUPLEX1.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"ScalarMap_On_DeformedShape/F3")
+picturedir = get_picture_dir("ScalarMap_On_DeformedShape/F3")
file = datadir + "test_hydro_darcy4_out.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"ScalarMap_On_DeformedShape/F4")
+picturedir = get_picture_dir("ScalarMap_On_DeformedShape/F4")
file = datadir + "UO2_250ans.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"ScalarMap_On_DeformedShape/F5")
+picturedir = get_picture_dir("ScalarMap_On_DeformedShape/F5")
file = datadir + "maill.1.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"ScalarMap_On_DeformedShape/F6")
+picturedir = get_picture_dir("ScalarMap_On_DeformedShape/F6")
file = datadir + "maill.0.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"ScalarMap_On_DeformedShape/F7")
+picturedir = get_picture_dir("ScalarMap_On_DeformedShape/F7")
file = datadir + "occ4050.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"ScalarMap_On_DeformedShape/F8")
+picturedir = get_picture_dir("ScalarMap_On_DeformedShape/F8")
file = datadir + "maill.2.med"
print " --------------------------------- "
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1], "StreamLines/A0")
+picturedir = get_picture_dir("StreamLines/A0")
# Create presentations
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1], "StreamLines/A1")
+picturedir = get_picture_dir("StreamLines/A1")
# Create presentations
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1], "StreamLines/A2")
+picturedir = get_picture_dir("StreamLines/A2")
# Create presentations
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1], "StreamLines/A3")
+picturedir = get_picture_dir("StreamLines/A3")
# Create presentations
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1], "StreamLines/A4")
+picturedir = get_picture_dir("StreamLines/A4")
# Create presentations
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1], "StreamLines/A5")
+picturedir = get_picture_dir("StreamLines/A5")
# Create presentations
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1], "StreamLines/A6")
+picturedir = get_picture_dir("StreamLines/A6")
# Create presentations
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1], "StreamLines/A7")
+picturedir = get_picture_dir("StreamLines/A7")
# Create presentations
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1], "StreamLines/A8")
+picturedir = get_picture_dir("StreamLines/A8")
# Create presentations
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1], "StreamLines/A9")
+picturedir = get_picture_dir("StreamLines/A9")
# Create presentations
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1], "StreamLines/B0")
+picturedir = get_picture_dir("StreamLines/B0")
# Create presentations
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1], "StreamLines/B1")
+picturedir = get_picture_dir("StreamLines/B1")
# Create presentations
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1], "StreamLines/B2")
+picturedir = get_picture_dir("StreamLines/B2")
# Create presentations
myParavis = paravis.myParavis
F9
)
SET(TIMEOUT 10000)
- ADD_TEST(STREAMLINES_${tfile} ${PYTHON_EXECUTABLE} ${PROJECT_SOURCE_DIR}/test/VisuPrs/Util/paravistesthelper.py ${TIMEOUT} ${CMAKE_CURRENT_SOURCE_DIR}/${tfile}.py ${PARAVIS_TEST_OUTPUT_DIR})
+ ADD_TEST(STREAMLINES_${tfile} ${PYTHON_EXECUTABLE} ${PROJECT_SOURCE_DIR}/test/VisuPrs/Util/paravistesthelper.py ${TIMEOUT} ${CMAKE_CURRENT_SOURCE_DIR}/${tfile}.py)
SET_TESTS_PROPERTIES(STREAMLINES_${tfile} PROPERTIES FAIL_REGULAR_EXPRESSION "FAILED" TIMEOUT ${TIMEOUT})
ENDFOREACH( tfile )
ENDIF (PYTHON_EXECUTABLE)
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1], "StreamLines/E0")
+picturedir = get_picture_dir("StreamLines/E0")
# Create presentations
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1], "StreamLines/E1")
+picturedir = get_picture_dir("StreamLines/E1")
# Create presentations
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1], "StreamLines/E2")
+picturedir = get_picture_dir("StreamLines/E2")
# Create presentations
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1], "StreamLines/E3")
+picturedir = get_picture_dir("StreamLines/E3")
# Create presentations
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1], "StreamLines/E4")
+picturedir = get_picture_dir("StreamLines/E4")
# Create presentations
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1], "StreamLines/E5")
+picturedir = get_picture_dir("StreamLines/E5")
# Create presentations
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1], "StreamLines/E6")
+picturedir = get_picture_dir("StreamLines/E6")
# Create presentations
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1], "StreamLines/E7")
+picturedir = get_picture_dir("StreamLines/E7")
# Create presentations
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1], "StreamLines/E8")
+picturedir = get_picture_dir("StreamLines/E8")
# Create presentations
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1], "StreamLines/E9")
+picturedir = get_picture_dir("StreamLines/E9")
# Create presentations
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1], "StreamLines/F1")
+picturedir = get_picture_dir("StreamLines/F1")
# Create presentations
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1], "StreamLines/F2")
+picturedir = get_picture_dir("StreamLines/F2")
# Create presentations
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1], "StreamLines/F3")
+picturedir = get_picture_dir("StreamLines/F3")
# Create presentations
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1], "StreamLines/F4")
+picturedir = get_picture_dir("StreamLines/F4")
# Create presentations
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1], "StreamLines/F5")
+picturedir = get_picture_dir("StreamLines/F5")
# Create presentations
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1], "StreamLines/F6")
+picturedir = get_picture_dir("StreamLines/F6")
# Create presentations
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1], "StreamLines/F7")
+picturedir = get_picture_dir("StreamLines/F7")
# Create presentations
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1], "StreamLines/F8")
+picturedir = get_picture_dir("StreamLines/F8")
# Create presentations
myParavis = paravis.myParavis
my_paravis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1], "StreamLines/F9")
+picturedir = get_picture_dir("StreamLines/F9")
# Import of the "Bug829_resu_mode.med" file
file_path = datadir + "Bug829_resu_mode.med"
# Write image
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1], "Tables/A0")
+picturedir = get_picture_dir("Tables/A0")
if not picturedir.endswith(os.sep):
picturedir += os.sep
# Write image
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1], "Tables/A2")
+picturedir = get_picture_dir("Tables/A2")
if not picturedir.endswith(os.sep):
picturedir += os.sep
A2
)
SET(TIMEOUT 10000)
- ADD_TEST(TABLES_${tfile} ${PYTHON_EXECUTABLE} ${PROJECT_SOURCE_DIR}/test/VisuPrs/Util/paravistesthelper.py ${TIMEOUT} ${CMAKE_CURRENT_SOURCE_DIR}/${tfile}.py ${PARAVIS_TEST_OUTPUT_DIR})
+ ADD_TEST(TABLES_${tfile} ${PYTHON_EXECUTABLE} ${PROJECT_SOURCE_DIR}/test/VisuPrs/Util/paravistesthelper.py ${TIMEOUT} ${CMAKE_CURRENT_SOURCE_DIR}/${tfile}.py)
SET_TESTS_PROPERTIES(TABLES_${tfile} PROPERTIES FAIL_REGULAR_EXPRESSION "FAILED" TIMEOUT ${TIMEOUT})
ENDFOREACH( tfile )
ENDIF (PYTHON_EXECUTABLE)
from math import fabs
import os
+import tempfile
+import getpass
from datetime import date
import salome
return error
-def get_picture_dir(pic_dir, subdir):
- res_dir = pic_dir
+def get_picture_dir(subdir):
+ res_dir = os.getenv("PARAVIS_TEST_PICS")
if not res_dir:
- res_dir = "/tmp/pic"
-
- # Add current date and subdirectory for the case to the directory path
- cur_date = date.today().strftime("%d%m%Y")
- res_dir += "/test_" + cur_date + "/" + subdir
+ # Add username and current date to unify the directory
+ cur_user = getpass.getuser()
+ cur_date = date.today().strftime("%Y%m%d")
+ res_dir = tempfile.gettempdir() + \
+ "/pic_" + cur_user + \
+ "/test_" + cur_date
+ # Add subdirectory for the case to the directory path
+ res_dir += "/" + subdir
# Create the directory if doesn't exist
res_dir = os.path.normpath(res_dir)
if not os.path.exists(res_dir):
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"Vectors/A0")
+picturedir = get_picture_dir("Vectors/A0")
file = datadir + "fra.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"Vectors/A1")
+picturedir = get_picture_dir("Vectors/A1")
file = datadir + "hexa_28320_ELEM.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"Vectors/A2")
+picturedir = get_picture_dir("Vectors/A2")
file = datadir + "pointe.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"Vectors/A3")
+picturedir = get_picture_dir("Vectors/A3")
file = datadir + "Fields_group3D.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"Vectors/A4")
+picturedir = get_picture_dir("Vectors/A4")
file = datadir + "Hexa8.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"Vectors/A5")
+picturedir = get_picture_dir("Vectors/A5")
file = datadir + "Penta6.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"Vectors/A6")
+picturedir = get_picture_dir("Vectors/A6")
file = datadir + "clo.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"Vectors/A7")
+picturedir = get_picture_dir("Vectors/A7")
file = datadir + "Tetra4.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"Vectors/A8")
+picturedir = get_picture_dir("Vectors/A8")
file = datadir + "Tria3.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"Vectors/A9")
+picturedir = get_picture_dir("Vectors/A9")
file = datadir + "Quad4.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"Vectors/B0")
+picturedir = get_picture_dir("Vectors/B0")
file = datadir + "carre_en_quad4_seg2.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"Vectors/B1")
+picturedir = get_picture_dir("Vectors/B1")
file = datadir + "carre_en_quad4_seg2_fields.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"Vectors/B2")
+picturedir = get_picture_dir("Vectors/B2")
file = datadir + "cube_hexa8_quad4.med"
print " --------------------------------- "
F9
)
SET(TIMEOUT 10000)
- ADD_TEST(VECTORS_${tfile} ${PYTHON_EXECUTABLE} ${PROJECT_SOURCE_DIR}/test/VisuPrs/Util/paravistesthelper.py ${TIMEOUT} ${CMAKE_CURRENT_SOURCE_DIR}/${tfile}.py ${PARAVIS_TEST_OUTPUT_DIR})
+ ADD_TEST(VECTORS_${tfile} ${PYTHON_EXECUTABLE} ${PROJECT_SOURCE_DIR}/test/VisuPrs/Util/paravistesthelper.py ${TIMEOUT} ${CMAKE_CURRENT_SOURCE_DIR}/${tfile}.py)
SET_TESTS_PROPERTIES(VECTORS_${tfile} PROPERTIES FAIL_REGULAR_EXPRESSION "FAILED" TIMEOUT ${TIMEOUT})
ENDFOREACH( tfile )
ENDIF (PYTHON_EXECUTABLE)
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"Vectors/E0")
+picturedir = get_picture_dir("Vectors/E0")
file = datadir + "test_55_solid_concentr_dom.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"Vectors/E1")
+picturedir = get_picture_dir("Vectors/E1")
file = datadir + "H_COUPLEX1.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"Vectors/E2")
+picturedir = get_picture_dir("Vectors/E2")
file = datadir + "cas2_2d_couplage_chess_castem.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"Vectors/E3")
+picturedir = get_picture_dir("Vectors/E3")
file = datadir + "hydro_d10.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"Vectors/E4")
+picturedir = get_picture_dir("Vectors/E4")
file = datadir + "champc.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"Vectors/E5")
+picturedir = get_picture_dir("Vectors/E5")
file = datadir + "hydro_sea_alv.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"Vectors/E6")
+picturedir = get_picture_dir("Vectors/E6")
file = datadir + "toto.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"Vectors/E7")
+picturedir = get_picture_dir("Vectors/E7")
file = datadir + "couplex_alain.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"Vectors/E8")
+picturedir = get_picture_dir("Vectors/E8")
file = datadir + "KCOUPLEX1.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"Vectors/E9")
+picturedir = get_picture_dir("Vectors/E9")
file = datadir + "test_hydro.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"Vectors/F1")
+picturedir = get_picture_dir("Vectors/F1")
file = datadir + "ml.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"Vectors/F2")
+picturedir = get_picture_dir("Vectors/F2")
file = datadir + "T_COUPLEX1.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"Vectors/F3")
+picturedir = get_picture_dir("Vectors/F3")
file = datadir + "test_hydro_darcy4_out.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"Vectors/F4")
+picturedir = get_picture_dir("Vectors/F4")
file = datadir + "UO2_250ans.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"Vectors/F5")
+picturedir = get_picture_dir("Vectors/F5")
file = datadir + "maill.1.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"Vectors/F6")
+picturedir = get_picture_dir("Vectors/F6")
file = datadir + "maill.0.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"Vectors/F7")
+picturedir = get_picture_dir("Vectors/F7")
file = datadir + "occ4050.med"
print " --------------------------------- "
myParavis = paravis.myParavis
# Directory for saving snapshots
-picturedir = get_picture_dir(sys.argv[1],"Vectors/F8")
+picturedir = get_picture_dir("Vectors/F8")
file = datadir + "maill.2.med"
print " --------------------------------- "
# Create presentations
myParavis = paravis.myParavis
-picturedir = get_picture_dir(sys.argv[1], "Vectors/F9")
+picturedir = get_picture_dir("Vectors/F9")
theFileName = datadir + "Bug829_resu_mode.med"
print " --------------------------------- "