Index: disks_testrunner.cc |
diff --git a/disks_testrunner.cc b/disks_testrunner.cc |
new file mode 100644 |
index 0000000000000000000000000000000000000000..a375ee8943dad4bb1330b73b7949bdd1eb328721 |
--- /dev/null |
+++ b/disks_testrunner.cc |
@@ -0,0 +1,12 @@ |
+// Copyright (c) 2011 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(); |
+} |