TomographicImaging / CCPi-Regularisation-Toolkit

The set of CPU/GPU optimised regularisation modules for iterative image reconstruction and other image processing tasks
Apache License 2.0
49 stars 25 forks source link

unittest fail if GPU is not installed or GPU code not compiled #171

Closed paskino closed 1 year ago

paskino commented 2 years ago

There is no mechanism to disable unittests when there is no GPU installed.

Basically all unittests in test_run_test.py fail

https://github.com/vais-ral/CCPi-Regularisation-Toolkit/blob/188992bfc7159e615ea4ad62e6986096bc96148c/test/test_run_test.py#L9