Index: boot_mode_testrunner.cc |
diff --git a/boot_mode_testrunner.cc b/boot_mode_testrunner.cc |
new file mode 100644 |
index 0000000000000000000000000000000000000000..d2a06f603af70afe5914ae6742315acbf18fb8a7 |
--- /dev/null |
+++ b/boot_mode_testrunner.cc |
@@ -0,0 +1,13 @@ |
+// Copyright (c) 2010 The Chromium OS Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#include <gmock/gmock.h> |
+#include <gtest/gtest.h> |
+ |
+int main(int argc, char **argv) { |
+ ::testing::InitGoogleTest(&argc, argv); |
+ ::testing::GTEST_FLAG(throw_on_failure) = true; |
+ ::testing::InitGoogleMock(&argc, argv); |
+ return RUN_ALL_TESTS(); |
+} |