Changed names of test files to avoid Fujitsu compiler bug
authorErik Lindahl <erik@kth.se>
Tue, 5 Aug 2014 10:15:39 +0000 (12:15 +0200)
committerGerrit Code Review <gerrit@gerrit.gromacs.org>
Thu, 7 Aug 2014 17:17:59 +0000 (19:17 +0200)
commit9635099c5aa3122110e84ba8ea3b999342011ba5
tree50e7a59062f84c818f77087cea2b1e4f126af5aa
parent2120df62cb5b6a1a743194c059f5e2ab76e4bae7
Changed names of test files to avoid Fujitsu compiler bug

The Fujitsu compilers use an older version of the Clang
parser where certain static class initializers (e.g. strings)
are put in a static initializer function stub named after
the file and class. When the first such class has identical
names in two different files where the last part of the
name is identical, this will result in clashing symbols
at link time. Working around this would require an extra
(unused) class definition in each file that would pollute the
code, so for now we merely rename the files where it occurs
and hope that the compilers will be fixed (a bug report has
been submitted).

Change-Id: If552a06950facb0cdbb6e34e0b324aafa6083ae8
src/testutils/tests/CMakeLists.txt
src/testutils/tests/refdata_tests.cpp [moved from src/testutils/tests/refdata.cpp with 100% similarity]
src/testutils/tests/testasserts_tests.cpp [moved from src/testutils/tests/testasserts.cpp with 100% similarity]