| … | … | @@ -1,5 +1,14 @@ |
| 1 | 1 | |
| 2 | 2 | (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 | ||
| 3 | 12 | (use-modules (opencog matrix)) |
| 4 | 13 | |
| 5 | 14 | (opencog-test-runner) |