Merge branch 'fix-tests' into stable

This commit is contained in:
John Ralls 2024-05-28 15:08:38 -07:00
commit ad94999bef

View File

@ -149,7 +149,11 @@ function(gnc_add_scheme_test _TARGET _SOURCE_FILE)
(format #t \"%load-compiled-path = ~s~%\" %load-compiled-path)
(error \"Loading guile/site file from outside build tree!\" filename))))
(load-from-path \"${_TARGET}\")
(exit (run-test))"
(let ((result (run-test)))
(if (boolean? result)
(exit result)
(exit (test-runner-fail-count result))))
"
)
endif()
get_guile_env()