File tree 2 files changed +7
-7
lines changed
2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ def setup_module():
38
38
if not util .has_f90_compiler ():
39
39
pytest .skip ("No Fortran 90 compiler available" )
40
40
41
- if sys .platform . startswith ( 'cygwin' ) :
41
+ if sys .platform == 'cygwin' :
42
42
pytest .skip ("Meson too old for cygwin CI" )
43
43
44
44
if wrap is None :
Original file line number Diff line number Diff line change @@ -257,10 +257,10 @@ def __init__(self):
257
257
self .has_f90 = False
258
258
259
259
def check_compilers (self ):
260
- if not self .compilers_checked :
261
- self .has_c = check_language ('c' )
262
- self .has_f77 = check_language (' fortran' , fortran77_code )
263
- self .has_f90 = check_language (' fortran' , fortran90_code )
260
+ if ( not self .compilers_checked ) and ( not sys . platform == "cygwin" ) :
261
+ self .has_c = check_language ("c" )
262
+ self .has_f77 = check_language (" fortran" , fortran77_code )
263
+ self .has_f90 = check_language (" fortran" , fortran90_code )
264
264
self .compilers_checked = True
265
265
266
266
checker = CompilerChecker ()
@@ -352,8 +352,8 @@ def module_name(self):
352
352
def setup_method (self ):
353
353
if sys .platform == "win32" :
354
354
pytest .skip ("Fails with MinGW64 Gfortran (Issue #9673)" )
355
- if sys .platform . startswith ( 'cygwin' ) :
356
- pytest .skip ("Meson too old for cygwin CI " )
355
+ if sys .platform == 'cygwin' :
356
+ pytest .skip ("Cygwin doesn't find meson " )
357
357
358
358
if self .module is not None :
359
359
return
You can’t perform that action at this time.
0 commit comments