File tree Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ def setup_module():
3838 if not util .has_f90_compiler ():
3939 pytest .skip ("No Fortran 90 compiler available" )
4040
41- if sys .platform . startswith ( 'cygwin' ) :
41+ if sys .platform == 'cygwin' :
4242 pytest .skip ("Meson too old for cygwin CI" )
4343
4444 if wrap is None :
Original file line number Diff line number Diff line change @@ -257,10 +257,10 @@ def __init__(self):
257257 self .has_f90 = False
258258
259259 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 )
264264 self .compilers_checked = True
265265
266266checker = CompilerChecker ()
@@ -352,8 +352,8 @@ def module_name(self):
352352 def setup_method (self ):
353353 if sys .platform == "win32" :
354354 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 " )
357357
358358 if self .module is not None :
359359 return
You can’t perform that action at this time.
0 commit comments