| OLD | NEW |
| 1 # -*- python -*- | 1 # -*- python -*- |
| 2 # Copyright (c) 2012 The Native Client Authors. All rights reserved. | 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 | 3 # Use of this source code is governed by a BSD-style license that can be |
| 4 # found in the LICENSE file. | 4 # found in the LICENSE file. |
| 5 | 5 |
| 6 Import('env') | 6 Import('env') |
| 7 | 7 |
| 8 # TODO(robertm): those should not be necessary once we go -std=c99 | 8 # TODO(robertm): those should not be necessary once we go -std=c99 |
| 9 env.FilterOut(CFLAGS=['-pedantic']) | 9 env.FilterOut(CFLAGS=['-pedantic']) |
| 10 env.FilterOut(CCFLAGS=['-pedantic']) | 10 env.FilterOut(CCFLAGS=['-pedantic']) |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 50 # the 'good' nexe in the root directory will fail. | 50 # the 'good' nexe in the root directory will fail. |
| 51 (manifest_good_target + env['PROGSUFFIX'], | 51 (manifest_good_target + env['PROGSUFFIX'], |
| 52 env.File('${STAGING_DIR}/%s${PROGSUFFIX}' % manifest_bad_target)), | 52 env.File('${STAGING_DIR}/%s${PROGSUFFIX}' % manifest_bad_target)), |
| 53 # the 'good' nexe in the subdirectory will succeed. | 53 # the 'good' nexe in the subdirectory will succeed. |
| 54 ('subdir/' + manifest_good_target + env['PROGSUFFIX'], | 54 ('subdir/' + manifest_good_target + env['PROGSUFFIX'], |
| 55 env.File('${STAGING_DIR}/%s${PROGSUFFIX}' % manifest_good_target))] | 55 env.File('${STAGING_DIR}/%s${PROGSUFFIX}' % manifest_good_target))] |
| 56 | 56 |
| 57 node = env.PPAPIBrowserTester( | 57 node = env.PPAPIBrowserTester( |
| 58 'manifest_browser_test.out', | 58 'manifest_browser_test.out', |
| 59 url='manifest.html', | 59 url='manifest.html', |
| 60 nmfs=['${TEST_DIR}/manifest_top.nmf', '${TEST_DIR}/manifest_subdir.nmf'], | 60 nmfs=['${TEST_DIR}/manifest_top.nmf', |
| 61 '${TEST_DIR}/manifest_subdir.nmf', |
| 62 '${TEST_DIR}/manifest_arch_specific.nmf'], |
| 61 files=env.ExtractPublishedFiles(manifest_good_target), | 63 files=env.ExtractPublishedFiles(manifest_good_target), |
| 62 map_files=file_mapping) | 64 map_files=file_mapping) |
| 63 | 65 |
| 64 env.AddNodeToTestSuite(node, | 66 env.AddNodeToTestSuite(node, |
| 65 ['chrome_browser_tests'], | 67 ['chrome_browser_tests'], |
| 66 'run_manifest_browser_test', | 68 'run_manifest_browser_test', |
| 67 is_broken=env.PPAPIBrowserTesterIsBroken()) | 69 is_broken=env.PPAPIBrowserTesterIsBroken()) |
| OLD | NEW |