Commit 55116bef authored by tfarina's avatar tfarina Committed by Commit bot

Add gn_unittests to linux bots.

BUG=364645
TEST=trybots
R=dpranke@chromium.org

Review URL: https://codereview.chromium.org/1002353002

Cr-Commit-Position: refs/heads/master@{#322111}
parent bde8f574
{ {
"Linux Tests": { "Linux Tests": {
"gtest_tests": [ "gtest_tests": [
"gn_unittests",
{ {
"test": "accessibility_unittests", "test": "accessibility_unittests",
"swarming": { "swarming": {
...@@ -195,6 +196,7 @@ ...@@ -195,6 +196,7 @@
}, },
"Linux Tests (dbg)(1)(32)": { "Linux Tests (dbg)(1)(32)": {
"gtest_tests": [ "gtest_tests": [
"gn_unittests",
{ {
"test": "accessibility_unittests", "test": "accessibility_unittests",
"swarming": { "swarming": {
...@@ -363,6 +365,7 @@ ...@@ -363,6 +365,7 @@
}, },
"Linux Tests (dbg)(1)": { "Linux Tests (dbg)(1)": {
"gtest_tests": [ "gtest_tests": [
"gn_unittests",
{ {
"test": "accessibility_unittests", "test": "accessibility_unittests",
"swarming": { "swarming": {
...@@ -543,6 +546,7 @@ ...@@ -543,6 +546,7 @@
}, },
"Linux Clang (dbg)": { "Linux Clang (dbg)": {
"gtest_tests": [ "gtest_tests": [
"gn_unittests",
"accessibility_unittests", "accessibility_unittests",
"app_shell_unittests", "app_shell_unittests",
"base_unittests", "base_unittests",
......
...@@ -255,7 +255,6 @@ test("gn_unittests") { ...@@ -255,7 +255,6 @@ test("gn_unittests") {
"parser_unittest.cc", "parser_unittest.cc",
"path_output_unittest.cc", "path_output_unittest.cc",
"pattern_unittest.cc", "pattern_unittest.cc",
"run_all_unittests.cc",
"scope_per_file_provider_unittest.cc", "scope_per_file_provider_unittest.cc",
"scope_unittest.cc", "scope_unittest.cc",
"source_dir_unittest.cc", "source_dir_unittest.cc",
...@@ -274,6 +273,7 @@ test("gn_unittests") { ...@@ -274,6 +273,7 @@ test("gn_unittests") {
] ]
deps = [ deps = [
":gn_lib", ":gn_lib",
"//base/test:run_all_unittests",
"//base/test:test_support", "//base/test:test_support",
"//testing/gtest", "//testing/gtest",
] ]
......
...@@ -232,7 +232,6 @@ ...@@ -232,7 +232,6 @@
'parser_unittest.cc', 'parser_unittest.cc',
'path_output_unittest.cc', 'path_output_unittest.cc',
'pattern_unittest.cc', 'pattern_unittest.cc',
'run_all_unittests.cc',
'scope_per_file_provider_unittest.cc', 'scope_per_file_provider_unittest.cc',
'scope_unittest.cc', 'scope_unittest.cc',
'source_dir_unittest.cc', 'source_dir_unittest.cc',
...@@ -251,6 +250,7 @@ ...@@ -251,6 +250,7 @@
], ],
'dependencies': [ 'dependencies': [
'gn_lib', 'gn_lib',
'../../base/base.gyp:run_all_unittests',
'../../base/base.gyp:test_support_base', '../../base/base.gyp:test_support_base',
'../../testing/gtest.gyp:gtest', '../../testing/gtest.gyp:gtest',
], ],
......
// Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "base/test/test_suite.h"
// Don't use the multiprocess test harness. This test suite is fast enough and
// it makes the output more difficult to read.
int main(int argc, char** argv) {
base::TestSuite test_suite(argc, argv);
return test_suite.Run();
}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment