xref: /aosp_15_r20/external/libbrillo/testrunner_android.cc (revision 1a96fba65179ea7d3f56207137718607415c5953)
1*1a96fba6SXin Li //Copyright (C) 2015 The Android Open Source Project
2*1a96fba6SXin Li //
3*1a96fba6SXin Li //Licensed under the Apache License, Version 2.0 (the "License");
4*1a96fba6SXin Li //you may not use this file except in compliance with the License.
5*1a96fba6SXin Li //You may obtain a copy of the License at
6*1a96fba6SXin Li //
7*1a96fba6SXin Li //     http://www.apache.org/licenses/LICENSE-2.0
8*1a96fba6SXin Li //
9*1a96fba6SXin Li //Unless required by applicable law or agreed to in writing, software
10*1a96fba6SXin Li //distributed under the License is distributed on an "AS IS" BASIS,
11*1a96fba6SXin Li //WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12*1a96fba6SXin Li //See the License for the specific language governing permissions and
13*1a96fba6SXin Li //limitations under the License.
14*1a96fba6SXin Li 
15*1a96fba6SXin Li // based on testrunner.cc with the glib bits removed.
16*1a96fba6SXin Li 
17*1a96fba6SXin Li #include <gtest/gtest.h>
18*1a96fba6SXin Li 
19*1a96fba6SXin Li #include <base/at_exit.h>
20*1a96fba6SXin Li #include <brillo/test_helpers.h>
21*1a96fba6SXin Li 
main(int argc,char ** argv)22*1a96fba6SXin Li int main(int argc, char** argv) {
23*1a96fba6SXin Li   base::AtExitManager at_exit_manager;
24*1a96fba6SXin Li   SetUpTests(&argc, argv, true);
25*1a96fba6SXin Li   return RUN_ALL_TESTS();
26*1a96fba6SXin Li }
27