Re: [gdal-dev] Running Tests

2017-09-27 Thread jratike80
Even Rouault-2 wrote > Mateusz already answered on that. Writing Python tests is faster/easier > than C/C++ ones. > We/I tend to limit C/C++ written tests to part of the API not available > through the Python > API. Another point of view: Based on the number of questions that I have seen on the

Re: [gdal-dev] Running Tests

2017-09-26 Thread Joaquim Luis
On Tue, 26 Sep 2017 15:27:59 +0100, Even Rouault wrote: On mardi 26 septembre 2017 15:08:09 CEST Joaquim Luis wrote: >> P.S. - It seems strange to use python as a CI interface to a C/C++ >> >> library. Is there a reason the test harness isn't in C/C++?

Re: [gdal-dev] Running Tests

2017-09-26 Thread Even Rouault
On mardi 26 septembre 2017 15:08:09 CEST Joaquim Luis wrote: > >> P.S. - It seems strange to use python as a CI interface to a C/C++ > >> > >> library. Is there a reason the test harness isn't in C/C++? > > > > Mateusz already answered on that. Writing Python tests is faster/easier > > than

Re: [gdal-dev] Running Tests

2017-09-26 Thread Joaquim Luis
P.S. - It seems strange to use python as a CI interface to a C/C++ library. Is there a reason the test harness isn't in C/C++? Mateusz already answered on that. Writing Python tests is faster/easier than C/C++ ones. We/I tend to limit C/C++ written tests to part of the API not

Re: [gdal-dev] Running Tests

2017-09-26 Thread Even Rouault
Hi Andrew, > I'm trying to enable autotest so that I can easily verify changes I make to > GDAL. I'm having difficulty as my familiarity with the python environment > is limited. I don't think I want to install the swig bindings OVER the > current GDAL interface code that I may have in my

Re: [gdal-dev] Running Tests

2017-09-26 Thread Mateusz Loskot
On 26 September 2017 at 14:28, Andrew Bell wrote: > > P.S. - It seems strange to use python as a CI interface to a C/C++ library. > Is there a reason the test harness isn't in C/C++? Historical. Python was obvious choice as simple platform. Python kills two targets

[gdal-dev] Running Tests

2017-09-26 Thread Andrew Bell
I'm trying to enable autotest so that I can easily verify changes I make to GDAL. I'm having difficulty as my familiarity with the python environment is limited. I don't think I want to install the swig bindings OVER the current GDAL interface code that I may have in my system python