JeffersonLab / qphix

QCD for Intel Xeon Phi and Xeon processors
http://jeffersonlab.github.io/qphix/
Other
13 stars 11 forks source link

Make building of tests and tests-gtest conditional on --enable-testing #49

Closed kostrzewa closed 7 years ago

kostrzewa commented 7 years ago

@martin-ueding I think this is a simpler and more comprehensive way of disabling the building of tests. The problem is mainly that even the test framework requires QDP, so when building without QDP, even that fails...

When one wants to build and run tests, one would want to build all the checks against QDP anyway, I presume.

martin-ueding commented 7 years ago

It fails because the travis-ci.sh still uses --disable-testing, so the test programs were not even compiled. On this branch, a lot more will fail once I enable more of the tests.

Thanks!

kostrzewa commented 7 years ago

@martin-ueding How do we proceed on this? It is still not possible to build qphix without QDP...

kostrzewa commented 7 years ago

Okay, thanks for pulling in the changes.