Fix two failing tests on Windows:

1- ex30_tepal.py -  vetoe this test on Windows since 3D Mesher is not available GHS3DRPL -  MeshGemsh
  2- creating_parallel_mesh.py: on windows we build Python without tcl/tk thus tkinter module is missing -  do not raise exception in that case
Tested OK on Windows
This commit is contained in:
Nabil Ghodbane 2023-03-29 13:16:34 +02:00
parent 2271025156
commit d1392dc034
2 changed files with 6 additions and 2 deletions

View File

@ -1,7 +1,11 @@
# contains function to compute a mesh in parallel # contains function to compute a mesh in parallel
from platform import java_ver from platform import java_ver
import sys import sys
from tkinter import W try:
from tkinter import W
except:
print("warning: could not import tkinter")
import salome import salome
import time import time

View File

@ -33,7 +33,6 @@ SET(BAD_TESTS
ex04_cube5tetraHexa.py ex04_cube5tetraHexa.py
ex21_lamp.py ex21_lamp.py
ex29_refine.py ex29_refine.py
ex30_tepal.py
ex_MakePolyLine.py ex_MakePolyLine.py
test_smeshplugins.py test_smeshplugins.py
PAL_MESH_041_mesh.py PAL_MESH_041_mesh.py
@ -68,6 +67,7 @@ SET(BAD_TESTS
) )
IF(NOT WIN32) IF(NOT WIN32)
LIST(APPEND BAD_TESTS LIST(APPEND BAD_TESTS
ex30_tepal.py
test_smeshplugin_mg_tetra_parallele.py test_smeshplugin_mg_tetra_parallele.py
) )
ENDIF(NOT WIN32) ENDIF(NOT WIN32)