| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 The Chromium 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 #include "stdafx.h" | |
| 5 | 4 |
| 6 #include "base/at_exit.h" | 5 #include "base/at_exit.h" |
| 6 #include "chrome_elf/blacklist/test/blacklist_test_main_dll.h" |
| 7 #include "testing/gtest/include/gtest/gtest.h" | 7 #include "testing/gtest/include/gtest/gtest.h" |
| 8 | 8 |
| 9 #pragma comment(lib, "runtimeobject.lib") | |
| 10 | |
| 11 base::AtExitManager at_exit; | |
| 12 | |
| 13 int main(int argc, char** argv) { | 9 int main(int argc, char** argv) { |
| 14 mswrw::RoInitializeWrapper ro_init(RO_INIT_SINGLETHREADED); | |
| 15 | |
| 16 testing::InitGoogleTest(&argc, argv); | 10 testing::InitGoogleTest(&argc, argv); |
| 17 | 11 |
| 18 return RUN_ALL_TESTS(); | 12 base::AtExitManager at_exit_manager; |
| 13 |
| 14 InitBlacklistTestDll(); |
| 15 |
| 16 RUN_ALL_TESTS(); |
| 19 } | 17 } |
| OLD | NEW |