OverviewFilesCommitsIssuesDocsReleasesPeers

opencog-matrix commits / c22bfc8

Tweak unit test to run gracefully
c22bfc84fde7fe0d474e02535734b7b19ac5daf6
by Linas Vepštas <linasvepstas@gmail.com> · 2025-01-21T18:35:36.000Z

Changed files (1) +9 -0

tests/matrix/marginal-test.scm +9 -0
……@@ -1,5 +1,14 @@
11
22(use-modules (opencog) (opencog test-runner))
3
4; Unit test fails if run by hand, and this module is not
5; installed. So avoid that annoyance, and twinkle the module
6; load path.
7(if (resolve-module (list 'opencog 'matrix) #:ensure #f)
8 #t
9 (add-to-load-path "../../build/opencog/scm"))
10(format #t "Load path is: ~A\n" %load-path)
11
312(use-modules (opencog matrix))
413
514(opencog-test-runner)