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