gnucash maint: Multiple changes pushed

John Ralls jralls at code.gnucash.org
Mon Apr 9 18:18:07 EDT 2018


Updated	 via  https://github.com/Gnucash/gnucash/commit/c3f528b8 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/aea33ca5 (commit)
	from  https://github.com/Gnucash/gnucash/commit/972647d2 (commit)



commit c3f528b80c6cccdf9c139dc0f63a96ef513a0e62
Author: John Ralls <jralls at ceridwen.us>
Date:   Mon Apr 9 15:17:32 2018 -0700

    Bug 795068 - src/optional/python-bindings missing several files

diff --git a/src/optional/python-bindings/CMakeLists.txt b/src/optional/python-bindings/CMakeLists.txt
index e87c194..96d92a1 100644
--- a/src/optional/python-bindings/CMakeLists.txt
+++ b/src/optional/python-bindings/CMakeLists.txt
@@ -1,7 +1,9 @@
 ADD_SUBDIRECTORY(example_scripts)
 ADD_SUBDIRECTORY(tests)
 
-IF (BUILDING_FROM_VCS)
+  SET(PYEXEC_FILES  __init__.py function_class.py gnucash_business.py gnucash_core.py)
+
+  IF (BUILDING_FROM_VCS)
   SET(SWIG_FILES ${CMAKE_CURRENT_SOURCE_DIR}/gnucash_core.i ${CMAKE_CURRENT_SOURCE_DIR}/timespec.i)
   SET(GNUCASH_CORE_C_INCLUDES
     ${CMAKE_BINARY_DIR}/src/config.h
@@ -63,8 +65,6 @@ IF(WITH_PYTHON)
     ${PYTHON_INCLUDE_DIRS}
   )
 
-  SET(PYEXEC_FILES  __init__.py function_class.py gnucash_business.py gnucash_core.py)
-
   ADD_LIBRARY(gnucash_core_c MODULE ${SWIG_GNUCASH_CORE_C})
   TARGET_INCLUDE_DIRECTORIES(gnucash_core_c PRIVATE ${gnucash_core_c_INCLUDE_DIRS})
 

commit aea33ca515aceb4f63a5cbc8165d4ec93f245d0c
Author: John Ralls <jralls at ceridwen.us>
Date:   Sun Apr 8 15:20:55 2018 -0700

    Bug 795049 - GnuCash 2.6.20-1 (Fedora Linux package) is unable to open...
    
    MariaDB database.

diff --git a/src/backend/dbi/test/test-backend-dbi-basic.c b/src/backend/dbi/test/test-backend-dbi-basic.c
index 386a2c3..4a55a62 100644
--- a/src/backend/dbi/test/test-backend-dbi-basic.c
+++ b/src/backend/dbi/test/test-backend-dbi-basic.c
@@ -666,15 +666,15 @@ test_suite_gnc_backend_dbi (void)
     }
     if (g_list_find_custom (drivers, "sqlite3", (GCompareFunc)g_strcmp0))
         create_dbi_test_suite ("sqlite3", "sqlite3");
-    if (strlen (TEST_MYSQL_URL) > 0 &&
-            g_list_find_custom (drivers, "mysql", (GCompareFunc)g_strcmp0))
-        create_dbi_test_suite ("mysql", TEST_MYSQL_URL);
     if (strlen (TEST_PGSQL_URL) > 0 &&
             g_list_find_custom (drivers, "pgsql", (GCompareFunc)g_strcmp0))
     {
         g_setenv ("PGOPTIONS", "-c client_min_messages=WARNING", FALSE);
         create_dbi_test_suite ("postgres", TEST_PGSQL_URL);
     }
+    if (strlen (TEST_MYSQL_URL) > 0 &&
+            g_list_find_custom (drivers, "mysql", (GCompareFunc)g_strcmp0))
+        create_dbi_test_suite ("mysql", TEST_MYSQL_URL);
 
     GNC_TEST_ADD_FUNC( suitename, "adjust sql options string localtime", 
         test_adjust_sql_options_string );



Summary of changes:
 src/backend/dbi/test/test-backend-dbi-basic.c | 6 +++---
 src/optional/python-bindings/CMakeLists.txt   | 6 +++---
 2 files changed, 6 insertions(+), 6 deletions(-)



More information about the gnucash-changes mailing list