summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorKonstantin Käfer <mail@kkaefer.com>2014-03-17 12:32:27 +0100
committerKonstantin Käfer <mail@kkaefer.com>2014-03-17 12:32:27 +0100
commit85449e097c5fb28088c7866ad7e3b10683b30268 (patch)
tree70409c2b3eb9fd74e718a01420ab029e87c28526 /test
parent168ee4659e8499d0253587ec94ca1e548f770d87 (diff)
downloadqtlocation-mapboxgl-85449e097c5fb28088c7866ad7e3b10683b30268.tar.gz
add gtest
Diffstat (limited to 'test')
-rw-r--r--test/main.cpp6
-rw-r--r--test/test.gyp8
2 files changed, 14 insertions, 0 deletions
diff --git a/test/main.cpp b/test/main.cpp
new file mode 100644
index 0000000000..ec813bde80
--- /dev/null
+++ b/test/main.cpp
@@ -0,0 +1,6 @@
+#include "gtest/gtest.h"
+
+GTEST_API_ int main(int argc, char *argv[]) {
+ testing::InitGoogleTest(&argc, argv);
+ return RUN_ALL_TESTS();
+}
diff --git a/test/test.gyp b/test/test.gyp
new file mode 100644
index 0000000000..400310fa10
--- /dev/null
+++ b/test/test.gyp
@@ -0,0 +1,8 @@
+{
+ 'includes': [
+ '../common.gypi',
+ '../config.gypi'
+ ],
+ 'targets': [
+ ]
+}