Nyall Dawson
d64fbe2ade
Revert "Use a centralized directory for files created by ctest"
...
This reverts commit 2e85f6fa29da4e7f94a95656b470fa28b760dcab.
2024-06-26 12:34:46 +10:00
Sandro Santilli
2e85f6fa29
Use a centralized directory for files created by ctest
...
Defines a QGIS_TEST_TMP_DIR variable in top-level CMakeLists.txt
and then defines QGIS_CUSTOM_CONFIG_PATH and TMPDIR to be under
that directory for individual tests.
Closes GH-50587
Closes GH-48884
2024-05-29 14:19:00 +02:00
Sandro Santilli
7722e4961f
Have tests added with add_python_test guard after source tree immutability
2022-06-06 22:00:18 +02:00
Matthias Kuhn
50fd3d4259
Less noise
2022-01-04 11:02:04 +01:00
Denis Rouzaud
488255d85c
simplify creation of CMake files for Python tests ( #46642 )
2021-12-28 08:26:54 +00:00
Denis Rouzaud
da08c8a435
[cmake] generalize Python output directory in UseTest macro ( #43191 )
...
* [cmake] generalize Python output directory in UseTest macro
this is helpful in case we set up another python output directory (eg PySide2)
* define python output directories to the parent scope
* try with target_include_directories
* define vars on top level
* Update UsePythonTest.cmake
* some cleanup
* more cleanup
* fix uic
* fix path for all platforms
* fix var
2021-05-13 07:32:03 +02:00
Denis Rouzaud
555f516925
use cmake native FindPython ( #42497 )
2021-03-28 21:49:40 +02:00
Maxim Rylov
48961ef8b2
Switch HANA tests to run against HANA Cloud
2020-12-07 14:53:44 +01:00
Rashad Kanavath
8e78d2015d
[test] Avoid "NOTFOUND" in LD_LIBRARY_PATH environment variable
2019-02-23 05:20:17 +10:00
Matthias Kuhn
fc561d0375
[travis] Traceback for python tests on timeout
2017-09-15 16:31:01 +02:00
Denis Rouzaud
6575a60ae2
remove useless Python version variable
2017-05-29 15:35:14 +02:00
Juergen E. Fischer
e5fd81ffc3
osgeo4w: fix running of python tests
2017-02-07 14:47:07 +01:00
Denis Rouzaud
0a63d1f2c2
[spellcheck] properly look into various cases and add more fixes"
2017-01-16 16:39:20 +01:00
Matthias Kuhn
7709f3f001
Copyable output of testing environment variables
2016-03-27 13:31:14 +02:00
Matthias Kuhn
6b098b7abb
Specify python version for test python interpreter
2016-03-22 09:17:16 +01:00
Juergen E. Fischer
eeeb378975
fix e961a52
2016-01-06 06:24:53 +01:00
Juergen E. Fischer
e961a52c6a
revive python tests on windows (followup afcf567)
2016-01-05 23:34:02 +01:00
Michael Kirk
afcf567ebb
[Processing] fixup parameters test
...
- Broke into per class testcase
- Each method tries to test only one aspect of behavior
- Use unittest assertions for better error output
- Removed non-existant serialize functionality from tests
- Test BooleanParameter
Conflicts:
python/plugins/processing/core/parameters.py
2015-12-24 15:14:02 +01:00
Juergen E. Fischer
9d97c7c41b
fix typo in python test invocation
2015-11-08 18:03:22 +00:00
Juergen E. Fischer
789da22478
don't buffer python and grass tests output in variables
2015-07-18 15:32:37 +02:00
Matthias Kuhn
0f52163f67
[cmake] Fix warnings.
...
See http://www.cmake.org/Bug/view.php?id=14441
2013-11-04 10:51:01 +01:00
Larry Shaffer
096badd94f
Revert most Mac hacks for testing in favor of 4cfc365
...
- Cleanup of old .qml svg paths to matches other test data .qml
2012-08-26 17:27:18 -06:00
Tim Sutton
0d6858e30c
Typo fix
2012-08-26 15:13:12 +02:00
Larry Shaffer
9e73629d92
Fix package data and svg paths for cmake and pyqgis tests on Mac
2012-08-24 22:03:46 -06:00
Juergen E. Fischer
96b2d51e97
fix tests on windows
2012-08-18 00:44:50 +02:00
Juergen E. Fischer
fdefb5bffb
run python tests from build directory
2012-07-25 22:32:29 +02:00
Tim Sutton
b702d3ca9f
Initial test framework for running python tests as part of the CTest suite.
2012-07-23 00:02:56 +02:00