gnucash maint: Fix python tests dependencies
John Ralls
jralls at code.gnucash.org
Sat Jul 16 19:39:42 EDT 2022
Updated via https://github.com/Gnucash/gnucash/commit/426b30c3 (commit)
from https://github.com/Gnucash/gnucash/commit/1d09c69a (commit)
commit 426b30c37ef536e3610b920e43c868c1b344131f
Author: John Ralls <jralls at ceridwen.us>
Date: Sat Jul 16 16:35:22 2022 -0700
Fix python tests dependencies
So that ninja check works from a clean build directory with Python enabled.
diff --git a/bindings/python/tests/CMakeLists.txt b/bindings/python/tests/CMakeLists.txt
index f583e1ce8..ccf4d6a3e 100644
--- a/bindings/python/tests/CMakeLists.txt
+++ b/bindings/python/tests/CMakeLists.txt
@@ -5,7 +5,7 @@ if (WITH_PYTHON)
# Because it hasn't been built yet
set(test_core_dir ${CMAKE_BINARY_DIR}/common/test-core)
endif()
- add_custom_target(test-python-bindings ALL DEPENDS unittest_support gnucash-core-c-build gnucash-core-c-py sw_app_utils)
+ add_custom_target(test-python-bindings ALL DEPENDS unittest_support gnucash-core-c-build gnucash-core-c-py sw-core-utils-build sw-core-utils-py sw-app-utils-build sw-app-utils-py)
add_dependencies(check test-python-bindings)
add_test(python-bindings ${PYTHON_EXECUTABLE} ${CMAKE_CURRENT_SOURCE_DIR}/runTests.py.in)
set_property(TEST python-bindings PROPERTY ENVIRONMENT
Summary of changes:
bindings/python/tests/CMakeLists.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
More information about the gnucash-changes
mailing list