| OLD | NEW |
| (Empty) |
| 1 # -*- python -*- | |
| 2 # Copyright (c) 2012 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 # NOTE: Since NMFs are now autogenerated there is no ppapi_ppb_core.nmf | |
| 17 # file that is checked-in and staged anymore. This test will need to | |
| 18 # be converted to have its own nexe and its own nmf if we ever choose | |
| 19 # to enable it (is_broken=True below). | |
| 20 core = env.File('${STAGING_DIR}/ppapi_ppb_core_${TARGET_FULLARCH}${PROGSUFFIX}') | |
| 21 nmf = env.File('${STAGING_DIR}/ppapi_ppb_core.nmf') | |
| 22 stress_files.extend([core, nmf]) | |
| 23 | |
| 24 node = env.PPAPIBrowserTester( | |
| 25 'stress_many_nexes_test.out', | |
| 26 url='stress_many_nexes.html', | |
| 27 test_args=(('count', 100), ('parallel', 0)), | |
| 28 timeout=200, | |
| 29 files=stress_files) | |
| 30 | |
| 31 env.AddNodeToTestSuite(node, | |
| 32 ['chrome_browser_tests'], | |
| 33 'run_stress_many_nexes_test', | |
| 34 # Don't run this test automatically. It can cause random | |
| 35 # processes to die on a machine, etc. | |
| 36 is_broken=True) | |
| OLD | NEW |