The function in the subject returns a path to a utility on which to run a
test. But in the process, it tries to run the utility itself. This seems
strange. In my case, the test itself failed, but the code reported "Could
not find {file}", which is incorrect. It also causes the actual tests to
get skipped, when they should fail.

I can fix this, but I don't understand why there's an attempt to run a
utility in order to determine its path. I would think that checking that
the file exists would be sufficient (and this already occurs), but I'm not
privy to the history.

-- 
Andrew Bell
andrew.bell...@gmail.com
_______________________________________________
gdal-dev mailing list
gdal-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to