blob: 7374adacee902f9f9564336b727d97dc85dbbc50 (
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) 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 "ash/test/test_suite.h"
#if defined(OS_WIN)
#include "base/command_line.h"
#include "base/win/windows_version.h"
#endif
int main(int argc, char** argv) {
#if defined(OS_WIN)
CommandLine::Init(argc, argv);
// Disabled on Win8 until they're passing cleanly. http://crbug.com/154081
// Can be optionally enabled via a command line flag (handy for developing)
// until such time.
if (base::win::GetVersion() >= base::win::VERSION_WIN8 &&
!CommandLine::ForCurrentProcess()->HasSwitch("ash-metro-tests"))
return 0;
#endif
return ash::test::AuraShellTestSuite(argc, argv).Run();
}
|