diff options
Diffstat (limited to 'test/test_main.cpp')
-rw-r--r-- | test/test_main.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/test_main.cpp b/test/test_main.cpp index 55a5b09..0f87856 100644 --- a/test/test_main.cpp +++ b/test/test_main.cpp @@ -23,10 +23,14 @@ */ #include "test.h" +#include "i965_test_environment.h" int main(int argc, char **argv) { ::testing::InitGoogleTest(&argc, argv); + /** NOTE: gtest takes ownership of the I965TestEnvironment instance **/ + ::testing::AddGlobalTestEnvironment(I965TestEnvironment::instance()); + return RUN_ALL_TESTS(); } |