mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-22 00:06:12 -05:00
Testing locally becomes as simple as (from build dir): . tests/env.sh python ${srcdir}/tests/src/python/test_provider_postgres.py
17 lines
264 B
CMake
17 lines
264 B
CMake
if (ENABLE_TESTS)
|
|
|
|
if (WITH_CORE)
|
|
add_subdirectory(src)
|
|
add_subdirectory(bench)
|
|
endif()
|
|
|
|
add_subdirectory(code_layout)
|
|
|
|
configure_file(
|
|
"${CMAKE_SOURCE_DIR}/tests/env.sh.in"
|
|
"${CMAKE_BINARY_DIR}/tests/env.sh"
|
|
IMMEDIATE @ONLY)
|
|
endif()
|
|
|
|
|