mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
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:
committed by
Geert Janssens
parent
141e777893
commit
cac307602f
@@ -68,7 +68,7 @@ set(GUILE_DEPENDS
|
||||
|
||||
gnc_add_scheme_test_targets(test-gnc-modules-scm
|
||||
"${test_gnc_module_SCHEME}"
|
||||
"gnucash/gnc-modules/test"
|
||||
"tests"
|
||||
"${GUILE_DEPENDS}"
|
||||
TRUE
|
||||
)
|
||||
|
||||
@@ -27,7 +27,7 @@ target_include_directories(gncmod-baz PRIVATE
|
||||
|
||||
gnc_add_scheme_test_targets(scm-mod-baz
|
||||
gnucash/baz.scm
|
||||
"gnucash"
|
||||
"tests"
|
||||
gncmod-baz
|
||||
TRUE
|
||||
)
|
||||
|
||||
@@ -21,7 +21,7 @@ target_include_directories(gncmod-foo PRIVATE
|
||||
|
||||
gnc_add_scheme_test_targets(scm-mod-foo
|
||||
gnucash/foo.scm
|
||||
"gnucash"
|
||||
"tests"
|
||||
gncmod-foo
|
||||
TRUE
|
||||
)
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
(use-modules (gnucash unittest-support))
|
||||
(use-modules (tests unittest-support))
|
||||
(define log-domain "gnc.module")
|
||||
(define check (new-TestErrorStruct))
|
||||
(define log-level (G-LOG-LEVEL-WARNING))
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
(use-modules (gnucash unittest-support))
|
||||
(use-modules (tests unittest-support))
|
||||
(define log-domain "gnc.module")
|
||||
(define check (new-TestErrorStruct))
|
||||
(define log-level (G-LOG-LEVEL-WARNING))
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
(use-modules (gnucash unittest-support))
|
||||
(use-modules (tests unittest-support))
|
||||
(define log-domain "gnc.module")
|
||||
(define check (new-TestErrorStruct))
|
||||
(define log-level (G-LOG-LEVEL-WARNING))
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
(use-modules (gnucash unittest-support))
|
||||
(use-modules (tests unittest-support))
|
||||
(define log-domain "gnc.module")
|
||||
(define check (new-TestErrorStruct))
|
||||
(define log-level (G-LOG-LEVEL-WARNING))
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
(use-modules (gnucash unittest-support))
|
||||
(use-modules (tests unittest-support))
|
||||
(define log-domain "gnc.module")
|
||||
(define check (new-TestErrorStruct))
|
||||
(define log-level (G-LOG-LEVEL-WARNING))
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
(use-modules (gnucash unittest-support))
|
||||
(use-modules (tests unittest-support))
|
||||
(define log-domain "gnc.module")
|
||||
(define check (new-TestErrorStruct))
|
||||
(define log-level (G-LOG-LEVEL-WARNING))
|
||||
|
||||
Reference in New Issue
Block a user