blob: 97d6719a8c0c6feccaf3fb2f391cfb2279687bd1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
// Copyright (c) 2006-2008 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 "build/build_config.h"
#include "base/process_util.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) {
process_util::EnableTerminationOnHeapCorruption();
#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
}
|