MOZI-AI / annotation-scheme

Human Gene annotation service backend
GNU General Public License v3.0
3 stars 4 forks source link

Unit tests broken. #170

Closed linas closed 4 years ago

linas commented 4 years ago

I now get

PASS: tests/parser-tests.scm
PASS: tests/util-tests.scm
PASS: tests/pathway-tests.scm
Makefile:789: recipe for target 'tests/main-tests.log' failed
make[2]: *** [tests/main-tests.log] Error 1
make[2]: Leaving directory '/home/ubuntu/src/annotation-scheme/build'
Makefile:768: recipe for target 'check-TESTS' failed
make[1]: *** [check-TESTS] Error 2
make[1]: Leaving directory '/home/ubuntu/src/annotation-scheme/build'
Makefile:960: recipe for target 'check-am' failed
make: *** [check-am] Error 2
$ cat tests/main-tests.log
Backtrace:
           1 (primitive-load-path "tests/main-tests.scm")
           0 (primitive-load "tests/sample_dataset.scm")

ERROR: In procedure primitive-load:
In procedure open-file: No such file or directory: "tests/sample_dataset.scm"

These were working a week ago ...

linas commented 4 years ago

This was broken by commit bd03f5d66346c2b012a7a94a284a1a7a0b82d164

The problem is that primitive-load fails to search the path, and thus never finds the test dataset ...

Habush commented 4 years ago

@linas , is this still an issue? I know it has been a while since you checked this codebase but all the tests pass right now.

linas commented 4 years ago

Don't know, I don't plan to re-check.