Disable analysisdata generic tests if not compilable
authorTeemu Murtola <teemu.murtola@gmail.com>
Fri, 8 Aug 2014 04:07:19 +0000 (07:07 +0300)
committerGerrit Code Review <gerrit@gerrit.gromacs.org>
Sat, 16 Aug 2014 23:29:16 +0000 (01:29 +0200)
commit5ab7482e2e51aa3df1bc95f1b934d784a014a1ad
tree0be49f4e346e7185fd3a5fd6e597db7a189c0225
parent546f7c57431c6c5d0c88017243ad3240fbd65092
Disable analysisdata generic tests if not compilable

If Google Test claims that typed tests are not supported, exclude the
analysisdata generic tests that use this functionality from compilation
(since they wouldn't compile).  Instead, add a dummy test that at least
shows a developer who runs the unit test executable directly that
something is missing (the ctest run still passes without any messages).

Change-Id: Iba9bcc4b993e5213fe48e24d52b09474e5801fa8
src/gromacs/analysisdata/tests/analysisdata.cpp