summaryrefslogtreecommitdiffstats
path: root/gfx/angle/src/tests/angle_perftests_main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'gfx/angle/src/tests/angle_perftests_main.cpp')
-rwxr-xr-xgfx/angle/src/tests/angle_perftests_main.cpp18
1 files changed, 18 insertions, 0 deletions
diff --git a/gfx/angle/src/tests/angle_perftests_main.cpp b/gfx/angle/src/tests/angle_perftests_main.cpp
new file mode 100755
index 000000000..20f8dac9f
--- /dev/null
+++ b/gfx/angle/src/tests/angle_perftests_main.cpp
@@ -0,0 +1,18 @@
+//
+// Copyright (c) 2014 The ANGLE Project Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+//
+// angle_perftests_main.cpp
+// Entry point for the gtest-based performance tests.
+//
+
+#include <gtest/gtest.h>
+
+int main(int argc, char **argv)
+{
+ testing::InitGoogleTest(&argc, argv);
+ testing::AddGlobalTestEnvironment(new testing::Environment());
+ int rt = RUN_ALL_TESTS();
+ return rt;
+}