common_runtime_test.cc revision 07ed66b5ae659c452cbe1ab20c3dbf1d6f546461
1eb02a124afcd6869ada475712bca8cbe0de20222Elliott Hughes/* 2eb02a124afcd6869ada475712bca8cbe0de20222Elliott Hughes * Copyright (C) 2012 The Android Open Source Project 3eb02a124afcd6869ada475712bca8cbe0de20222Elliott Hughes * 4eb02a124afcd6869ada475712bca8cbe0de20222Elliott Hughes * Licensed under the Apache License, Version 2.0 (the "License"); 5eb02a124afcd6869ada475712bca8cbe0de20222Elliott Hughes * you may not use this file except in compliance with the License. 6eb02a124afcd6869ada475712bca8cbe0de20222Elliott Hughes * You may obtain a copy of the License at 7eb02a124afcd6869ada475712bca8cbe0de20222Elliott Hughes * 8eb02a124afcd6869ada475712bca8cbe0de20222Elliott Hughes * http://www.apache.org/licenses/LICENSE-2.0 9eb02a124afcd6869ada475712bca8cbe0de20222Elliott Hughes * 10eb02a124afcd6869ada475712bca8cbe0de20222Elliott Hughes * Unless required by applicable law or agreed to in writing, software 11eb02a124afcd6869ada475712bca8cbe0de20222Elliott Hughes * distributed under the License is distributed on an "AS IS" BASIS, 12eb02a124afcd6869ada475712bca8cbe0de20222Elliott Hughes * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13eb02a124afcd6869ada475712bca8cbe0de20222Elliott Hughes * See the License for the specific language governing permissions and 14eb02a124afcd6869ada475712bca8cbe0de20222Elliott Hughes * limitations under the License. 15eb02a124afcd6869ada475712bca8cbe0de20222Elliott Hughes */ 16eb02a124afcd6869ada475712bca8cbe0de20222Elliott Hughes 1707ed66b5ae659c452cbe1ab20c3dbf1d6f546461Elliott Hughes#include "base/logging.h" 18eb02a124afcd6869ada475712bca8cbe0de20222Elliott Hughes#include "gtest/gtest.h" 19eb02a124afcd6869ada475712bca8cbe0de20222Elliott Hughes 20eb02a124afcd6869ada475712bca8cbe0de20222Elliott Hughesint main(int argc, char **argv) { 21eb02a124afcd6869ada475712bca8cbe0de20222Elliott Hughes art::InitLogging(argv); 22eb02a124afcd6869ada475712bca8cbe0de20222Elliott Hughes LOG(INFO) << "Running main() from common_test.cc..."; 23eb02a124afcd6869ada475712bca8cbe0de20222Elliott Hughes testing::InitGoogleTest(&argc, argv); 24eb02a124afcd6869ada475712bca8cbe0de20222Elliott Hughes return RUN_ALL_TESTS(); 25eb02a124afcd6869ada475712bca8cbe0de20222Elliott Hughes} 26