diff options
author | tc@google.com <tc@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-09-17 18:16:01 +0000 |
---|---|---|
committer | tc@google.com <tc@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-09-17 18:16:01 +0000 |
commit | 954bc8a57743da5092b218285b4b8f14239235dd (patch) | |
tree | 32976cb1f0b7a534b8d4f44fec2e91dd146c1d74 /chrome/test/unit | |
parent | 22514d70ddb3ce5a3eb99cd022f909d5d7298793 (diff) | |
download | chromium_src-954bc8a57743da5092b218285b4b8f14239235dd.zip chromium_src-954bc8a57743da5092b218285b4b8f14239235dd.tar.gz chromium_src-954bc8a57743da5092b218285b4b8f14239235dd.tar.bz2 |
Include chrome SConscript.unit_tests in Linux build.
BUG=2335
Original patch by phajdan.jr@gmail.com in
http://codereview.chromium.org/2891
R=mark,sgk
Review URL: http://codereview.chromium.org/2939
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2319 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/test/unit')
-rw-r--r-- | chrome/test/unit/run_all_unittests.cc | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/chrome/test/unit/run_all_unittests.cc b/chrome/test/unit/run_all_unittests.cc index 8a7419b..3ed4a73 100644 --- a/chrome/test/unit/run_all_unittests.cc +++ b/chrome/test/unit/run_all_unittests.cc @@ -2,9 +2,21 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +#include "build/build_config.h" + +#include "base/test_suite.h" + +// TODO(port): This is not Windows-specific, but needs to be ported. +#if defined(OS_WIN) #include "chrome/test/unit/chrome_test_suite.h" +#endif int main(int argc, char **argv) { +#if defined(OS_WIN) + // TODO(port): This is not Windows-specific, but needs to be ported. return ChromeTestSuite(argc, argv).Run(); +#else + return TestSuite(argc, argv).Run(); +#endif } |