intel/compiler: link all tests again gtest, even test_eu_compact"
authorEmil Velikov <emil.velikov@collabora.com>
Tue, 7 Mar 2017 16:13:42 +0000 (16:13 +0000)
committerEmil Velikov <emil.l.velikov@gmail.com>
Mon, 13 Mar 2017 11:16:35 +0000 (11:16 +0000)
commitbdc5036464b40a76115f7c3654043bb1155bd705
tree42f776f3b0946b7603667aa8c80c06b99fe824a4
parentf282ace67862c0633d0a8135e4808867740d0d39
intel/compiler: link all tests again gtest, even test_eu_compact"

At the moment all the tests but test_eu_compact are actual C++ gtests.
To simplify things, we can move the gtest.la to the common TEST_LIBS.
As we're here, we can rename change the test extension [to .cpp] to
avoid using the confusing dummy.cpp.

Add a nice comment in the makefile for posterity.

Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
src/intel/Makefile.compiler.am
src/intel/compiler/test_eu_compact.c [deleted file]
src/intel/compiler/test_eu_compact.cpp [new file with mode: 0644]