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

Unified Diff: ppapi/native_client/tests/nacl_browser/browser_startup_time/nacl.scons

Issue 11145002: Remove more tests from the NaCl SCons build. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 8 years, 2 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 side-by-side diff with in-line comments
Download patch
Index: ppapi/native_client/tests/nacl_browser/browser_startup_time/nacl.scons
diff --git a/ppapi/native_client/tests/nacl_browser/browser_startup_time/nacl.scons b/ppapi/native_client/tests/nacl_browser/browser_startup_time/nacl.scons
deleted file mode 100644
index 10c0c0767cda0f95f81f88500a21be1abe5f205a..0000000000000000000000000000000000000000
--- a/ppapi/native_client/tests/nacl_browser/browser_startup_time/nacl.scons
+++ /dev/null
@@ -1,73 +0,0 @@
-# -*- python -*-
-# 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.
-
-# Test startup time for loading a basic PPAPI nexe in the browser.
-
-Import('env')
-
-nexe_name = env.ProgramNameForNmf('browser_startup_time')
-stripped_nexe = env.ProgramNameForNmf('browser_startup_time_stripped')
-
-browser_startup_nexe = env.ComponentProgram(
- nexe_name,
- ['hello_world.cc'],
- EXTRA_LIBS=['ppapi_cpp'])
-
-env.Publish(nexe_name, 'run',
- ['browser_startup_time.html',
- 'browser_startup_time.js'])
-
-test_name = 'browser_startup_time.out'
-output_processor_1 = ['${PYTHON}',
- str(env.File(
- '${SCONSTRUCT_DIR}/tools/process_perf_output.py')),
Mark Seaborn 2012/10/12 22:00:48 Will you also remove the process_perf*.py scripts?
- test_name,
- env.GetPerfEnvDescription()]
-output_processor_c = ['${PYTHON}',
- str(env.File(
- '${SCONSTRUCT_DIR}/tools/process_perf_combined.py'))]
-
-
-node = env.PPAPIBrowserTester(
- test_name,
- url='browser_startup_time.html',
- nmf_names=['browser_startup_time'],
- files=env.ExtractPublishedFiles(nexe_name),
- # Smooth out the timing data.
- num_runs=5,
- process_output_single=output_processor_1,
- process_output_combined=output_processor_c,
- # Assume verbosity level of 1 will give us NaClLogs for sel_ldr times.
- log_verbosity=1)
-
-# TODO(jvoung): use a single test suite when either
-# (a) performance_tests are always run, or
-# (b) we have decided to just fold this test into chrome_browser_tests.
-test_suites = ['chrome_browser_tests', 'performance_tests']
-env.AddNodeToTestSuite(node,
- test_suites,
- 'run_browser_startup_time_test',
- # This test relies on NACLLOG, which must be able to
- # open a file. This won't work with the outer sandbox
- # which is enabled in some cases.
- is_broken=(env.PPAPIBrowserTesterIsBroken() or
- True))
-
-# Also check the size of this nexe.
-node = env.FileSizeTest('browser_startup_size.out',
- browser_startup_nexe)
-env.AddNodeToTestSuite(node,
- test_suites,
- 'run_browser_startup_size_test')
-
-# Check size of stripped nexe.
-browser_startup_stripped_nexe = env.StripExecutable(
- stripped_nexe,
- browser_startup_nexe)
-node = env.FileSizeTest('browser_startup_stripped_size.out',
- browser_startup_stripped_nexe)
-env.AddNodeToTestSuite(node,
- test_suites,
- 'run_browser_startup_stripped_size_test')

Powered by Google App Engine
This is Rietveld 408576698