mirror of https://github.com/Gnucash/gnucash
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
710 B
21 lines
710 B
#! @SHELL@
|
|
exec ${GUILE} -s $0 "$@"
|
|
!#
|
|
|
|
(use-modules (gnucash unittest-support))
|
|
(define log-domain "gnc.module")
|
|
(define check (new-TestErrorStruct))
|
|
(define log-level (G-LOG-LEVEL-WARNING))
|
|
(define msg "Module '../../../libgnucash/gnc-module/test/misc-mods/.libs/libgncmod_futuremodsys.so' requires newer module system\n")
|
|
(TestErrorStruct-log-domain-set check log-domain)
|
|
(TestErrorStruct-log-level-set check log-level)
|
|
(TestErrorStruct-msg-set check msg)
|
|
(define handler (test-set-checked-handler log-domain log-level check))
|
|
(use-modules (gnucash gnc-module))
|
|
(gnc:module-system-init)
|
|
(gnc:module-load "gnucash/foo" 0)
|
|
(g-log-remove-handler log-domain handler)
|
|
;; Local Variables:
|
|
;; mode: scheme
|
|
;; End:
|