diff options
author | pkotwicz@chromium.org <pkotwicz@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-04-07 18:13:19 +0000 |
---|---|---|
committer | pkotwicz@chromium.org <pkotwicz@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-04-07 18:13:19 +0000 |
commit | 8e2fd6047ed7e45a4e091c9a579ce1a11a43f307 (patch) | |
tree | dabd46635ea3a5d56712a529c11ed28d59bdde42 /content/test/gpu | |
parent | d8f410be242cd4f0abf483a5b8e2d550a0261f6f (diff) | |
download | chromium_src-8e2fd6047ed7e45a4e091c9a579ce1a11a43f307.zip chromium_src-8e2fd6047ed7e45a4e091c9a579ce1a11a43f307.tar.gz chromium_src-8e2fd6047ed7e45a4e091c9a579ce1a11a43f307.tar.bz2 |
Add a new executable for building tests for soft gpu
As the soft gpu tests would ideally be stateless I added a flag --disable-file-writing to disable the test from writing data
Review URL: http://codereview.chromium.org/9722026
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@131285 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/test/gpu')
-rw-r--r-- | content/test/gpu/test_switches.cc | 8 | ||||
-rw-r--r-- | content/test/gpu/test_switches.h | 16 |
2 files changed, 24 insertions, 0 deletions
diff --git a/content/test/gpu/test_switches.cc b/content/test/gpu/test_switches.cc new file mode 100644 index 0000000..edeb8e68 --- /dev/null +++ b/content/test/gpu/test_switches.cc @@ -0,0 +1,8 @@ +// Copyright (c) 2012 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 "content/test/gpu/test_switches.h" + +// Use hardware gpu, if available, for tests. +const char switches::kUseGpuInTests[] = "use-gpu-in-tests"; diff --git a/content/test/gpu/test_switches.h b/content/test/gpu/test_switches.h new file mode 100644 index 0000000..1b0605e --- /dev/null +++ b/content/test/gpu/test_switches.h @@ -0,0 +1,16 @@ +// Copyright (c) 2012 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. + +#ifndef CONTENT_TEST_GPU_TEST_SWITCHES_H_ +#define CONTENT_TEST_GPU_TEST_SWITCHES_H_ + +namespace switches { + +// The switches should be documented alongside the definition of their values +// in the .cc file. +extern const char kUseGpuInTests[]; + +} // namespace switches + +#endif // CONTENT_TEST_GPU_TEST_SWITCHES_H_ |