OLD | NEW |
1 // Copyright (c) 2009 The Chromium OS Authors. All rights reserved. | 1 // Copyright (c) 2009 The Chromium OS Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 // based on pam_google_testrunner.cc | 5 // based on pam_google_testrunner.cc |
6 | 6 |
| 7 #include <glib.h> |
7 #include <gtest/gtest.h> | 8 #include <gtest/gtest.h> |
8 | 9 |
| 10 #include "update_engine/subprocess.h" |
| 11 |
9 int main(int argc, char **argv) { | 12 int main(int argc, char **argv) { |
| 13 g_thread_init(NULL); |
| 14 chromeos_update_engine::Subprocess::Init(); |
10 ::testing::InitGoogleTest(&argc, argv); | 15 ::testing::InitGoogleTest(&argc, argv); |
11 return RUN_ALL_TESTS(); | 16 return RUN_ALL_TESTS(); |
12 } | 17 } |
OLD | NEW |