CMake: Fix running tests on Windows
authorChun-wei Fan <fanchunwei@src.gnome.org>
Mon, 12 Mar 2018 05:38:01 +0000 (13:38 +0800)
committerChun-wei Fan <fanchunwei@src.gnome.org>
Tue, 13 Mar 2018 12:17:58 +0000 (20:17 +0800)
commiteda6a5ea807ba8a4e7fa20ad0273b394ed72d106
tree3b43a42e9c6f38105842fa4398a7c037dd49e1b6
parentb9dcbb1f8312d8606b230f75594d40b7d4087004
CMake: Fix running tests on Windows

For the API tests, output the test programs at $(TOP_BUILDDIR) so that
the freshly-built DLLs will be available for the test programs.  For
those that are run through the Python wrapper scripts, use
${PYTHON_EXECUTABLE} instead of plain 'python' in case the Python
interpreter is not in the PATH.
test/api/CMakeLists.txt
test/fuzzing/CMakeLists.txt
test/shaping/CMakeLists.txt
test/subset/CMakeLists.txt