diff options
author | Emil Velikov <[email protected]> | 2017-03-07 16:13:42 +0000 |
---|---|---|
committer | Emil Velikov <[email protected]> | 2017-03-13 11:16:35 +0000 |
commit | bdc5036464b40a76115f7c3654043bb1155bd705 (patch) | |
tree | 42f776f3b0946b7603667aa8c80c06b99fe824a4 /src/intel/compiler | |
parent | f282ace67862c0633d0a8135e4808867740d0d39 (diff) |
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 <[email protected]>
Reviewed-by: Jason Ekstrand <[email protected]>
Diffstat (limited to 'src/intel/compiler')
-rw-r--r-- | src/intel/compiler/test_eu_compact.cpp (renamed from src/intel/compiler/test_eu_compact.c) | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/intel/compiler/test_eu_compact.c b/src/intel/compiler/test_eu_compact.cpp index 77a57f4aa65..39e7f1a27c3 100644 --- a/src/intel/compiler/test_eu_compact.c +++ b/src/intel/compiler/test_eu_compact.cpp @@ -288,7 +288,7 @@ run_tests(const struct gen_device_info *devinfo) int main(int argc, char **argv) { - struct gen_device_info *devinfo = calloc(1, sizeof(*devinfo)); + struct gen_device_info *devinfo = (struct gen_device_info *)calloc(1, sizeof(*devinfo)); devinfo->gen = 6; bool fail = false; |