From 41f054c72c8261a45c743ad72b3d010575f3d08f Mon Sep 17 00:00:00 2001 From: "phajdan.jr@chromium.org" Date: Tue, 26 Jul 2011 17:11:43 +0000 Subject: Add a stub content_unittests target so we can point buildbot to it. BUG=90443 Review URL: http://codereview.chromium.org/7467036 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@94111 0039d316-1c4b-4281-b951-d872f2087c98 --- content/content.gyp | 1 + content/content_tests.gypi | 21 +++++++++++++++++++++ content/test/run_all_unittests.cc | 9 +++++++++ 3 files changed, 31 insertions(+) create mode 100644 content/content_tests.gypi create mode 100644 content/test/run_all_unittests.cc (limited to 'content') diff --git a/content/content.gyp b/content/content.gyp index 2d68520..172a790 100644 --- a/content/content.gyp +++ b/content/content.gyp @@ -13,6 +13,7 @@ 'content_plugin.gypi', 'content_ppapi_plugin.gypi', 'content_renderer.gypi', + 'content_tests.gypi', 'content_utility.gypi', 'content_worker.gypi', ], diff --git a/content/content_tests.gypi b/content/content_tests.gypi new file mode 100644 index 0000000..5920993 --- /dev/null +++ b/content/content_tests.gypi @@ -0,0 +1,21 @@ +# Copyright (c) 2011 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. + +{ + 'targets': [ + { + 'target_name': 'content_unittests', + 'type': 'executable', + 'dependencies': [ + '../base/base.gyp:test_support_base', + ], + 'include_dirs': [ + '..', + ], + 'sources': [ + 'test/run_all_unittests.cc', + ], + }, + ], +} diff --git a/content/test/run_all_unittests.cc b/content/test/run_all_unittests.cc new file mode 100644 index 0000000..7fd6ef2 --- /dev/null +++ b/content/test/run_all_unittests.cc @@ -0,0 +1,9 @@ +// Copyright (c) 2011 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" + +int main(int argc, char** argv) { + return base::TestSuite(argc, argv).Run(); +} -- cgit v1.1