aboutsummaryrefslogtreecommitdiff
path: root/test cases
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2013-06-17 01:41:17 +0300
committerJussi Pakkanen <jpakkane@gmail.com>2013-06-17 01:41:17 +0300
commitea3e8f1dd2bdefbab14c380eec0ed52b0252a8e8 (patch)
tree125e81684e7ab0311d927378eeecc5ff555c5cef /test cases
parentce4f2f1bbe15d9a475c1891ccaed06a18424fdfc (diff)
downloadmeson-ea3e8f1dd2bdefbab14c380eec0ed52b0252a8e8.zip
meson-ea3e8f1dd2bdefbab14c380eec0ed52b0252a8e8.tar.gz
meson-ea3e8f1dd2bdefbab14c380eec0ed52b0252a8e8.tar.bz2
Improvements to GTest and GMock.
Diffstat (limited to 'test cases')
-rw-r--r--test cases/frameworks/2 gtest/meson.build2
-rw-r--r--test cases/frameworks/3 gmock/meson.build2
2 files changed, 2 insertions, 2 deletions
diff --git a/test cases/frameworks/2 gtest/meson.build b/test cases/frameworks/2 gtest/meson.build
index b1a7563..9cb8a74 100644
--- a/test cases/frameworks/2 gtest/meson.build
+++ b/test cases/frameworks/2 gtest/meson.build
@@ -1,6 +1,6 @@
project('gtest', 'cpp')
-gtest = dependency('gtest')
+gtest = dependency('gtest', main : true)
e = executable('testprog', 'test.cc', deps : gtest)
test('gtest test', e)
diff --git a/test cases/frameworks/3 gmock/meson.build b/test cases/frameworks/3 gmock/meson.build
index 37867c9..188a14d 100644
--- a/test cases/frameworks/3 gmock/meson.build
+++ b/test cases/frameworks/3 gmock/meson.build
@@ -3,7 +3,7 @@ project('gmock test', 'cpp')
# Using gmock without gtest is a pain so just
# don't support that then.
-gtest = dependency('gtest')
+gtest = dependency('gtest', main : true)
gmock = dependency('gmock')
e = executable('gmocktest', 'gmocktest.cc', deps : [gtest, gmock])