Build or link all Scheme test files into a directory "tests".

Instead of random locations only occasionally related to the
corresponding source.

Includes renaming libgnucash/engine/test/test-extras.scm and
gnucash/report/report-system/test/test-extras.scm to avoid a
naming conflict.
This commit is contained in:
John Ralls
2019-05-17 16:10:49 -07:00
committed by Geert Janssens
parent 141e777893
commit cac307602f
51 changed files with 95 additions and 96 deletions

View File

@@ -55,7 +55,7 @@ endif()
set(test_core_SCHEME unittest-support.scm)
set(GUILE_OUTPUT_DIR gnucash)
set(GUILE_OUTPUT_DIR tests)
set(GUILE_DEPENDS test-core-guile)

View File

@@ -17,7 +17,7 @@
;; Boston, MA 02110-1301, USA gnu@gnu.org
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
(define-module (gnucash unittest-support))
(define-module (tests unittest-support))
(eval-when
(compile load eval expand)
(load-extension "libtest-core-guile" "scm_init_unittest_support_module"))