1 // Copyright 2017 The Chromium OS Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. 4 5 #if USE_BRILLO 6 #include "brillo/test_helpers.h" 7 #else 8 #include "gtest/gtest.h" 9 #endif // USE_BRILLO 10 11 // The entry point of the unit tests. main(int argc,char ** argv)12int main(int argc, char** argv) { 13 #if USE_BRILLO 14 base::CommandLine::Init(argc, argv); 15 SetUpTests(&argc, argv, true); 16 #else 17 testing::InitGoogleTest(&argc, argv); 18 #endif 19 return RUN_ALL_TESTS(); 20 } 21