OLD | NEW |
(Empty) | |
| 1 # -*- python -*- |
| 2 # Copyright (c) 2011 The Native Client Authors. All rights reserved. |
| 3 # Use of this source code is governed by a BSD-style license that can be |
| 4 # found in the LICENSE file. |
| 5 |
| 6 |
| 7 Import('env') |
| 8 |
| 9 stress_files = [ |
| 10 env.File('stress_many_nexes.html'), |
| 11 env.File('${SCONSTRUCT_DIR}/tools/browser_tester/browserdata/nacltest.js'), |
| 12 ] |
| 13 replicated_files = env.Replicate('${STAGING_DIR}', stress_files) |
| 14 env.Alias('all_programs', replicated_files) |
| 15 |
| 16 core = env.File('${STAGING_DIR}/ppapi_ppb_core_${TARGET_FULLARCH}${PROGSUFFIX}') |
| 17 nmf = env.File('${STAGING_DIR}/ppapi_ppb_core.nmf') |
| 18 stress_files.extend([core, nmf]) |
| 19 |
| 20 node = env.PPAPIBrowserTester( |
| 21 'stress_many_nexes_test.out', |
| 22 url='stress_many_nexes.html', |
| 23 test_args=(('count', 100), ('parallel', 0)), |
| 24 timeout=200, |
| 25 files=stress_files) |
| 26 |
| 27 env.AddNodeToTestSuite(node, |
| 28 ['chrome_browser_tests'], |
| 29 'run_stress_many_nexes_test', |
| 30 # Don't run this test automatically. It can cause random |
| 31 # processes to die on a machine, etc. |
| 32 is_broken=True) |
OLD | NEW |