Skip to content

Commit fc53706

Browse files
committed
Fixing pygeosx path
1 parent 7f334aa commit fc53706

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

geos-ats/src/geos/ats/test_steps.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -529,7 +529,10 @@ def label( self ):
529529
return "pygeos"
530530

531531
def executable( self ):
532-
return os.path.join( config.geos_bin_dir, 'python' )
532+
p = os.path.abspath(os.path.join( config.geos_bin_dir, 'python' ))
533+
if os.path.islink(p):
534+
p = os.readlink(p)
535+
return p
533536

534537
def makeArgs( self ):
535538
args = [ os.path.join( self.p.test_directory, self.p.script ) ]

0 commit comments

Comments
 (0)