Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1225)

Side by Side Diff: ash/test/ash_unittests.cc

Issue 12259011: Enable win8 ash tests. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "ash/test/test_suite.h" 5 #include "ash/test/test_suite.h"
6 6
7 #if defined(OS_WIN)
8 #include "base/command_line.h"
9 #include "base/win/windows_version.h"
10 #endif
11
12 int main(int argc, char** argv) { 7 int main(int argc, char** argv) {
13 #if defined(OS_WIN)
14 CommandLine::Init(argc, argv);
15 // Disabled on Win8 until they're passing cleanly. http://crbug.com/154081
16 // Can be optionally enabled via a command line flag (handy for developing)
17 // until such time.
18 if (base::win::GetVersion() >= base::win::VERSION_WIN8 &&
19 !CommandLine::ForCurrentProcess()->HasSwitch("ash-metro-tests"))
20 return 0;
21 #endif
22 return ash::test::AuraShellTestSuite(argc, argv).Run(); 8 return ash::test::AuraShellTestSuite(argc, argv).Run();
23 } 9 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698