| OLD | NEW |
| 1 # -*- python -*- | 1 # -*- python -*- |
| 2 # Copyright (c) 2011 The Native Client Authors. All rights reserved. | 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 | 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 srpc_mf_obj = env.ComponentObject('srpc_manifest_file_test.o', | 8 srpc_mf_obj = env.ComponentObject('srpc_manifest_file_test.o', |
| 9 'srpc_manifest_file_test.c') | 9 'srpc_manifest_file_test.c') |
| 10 srpc_mf_nexe_name = 'srpc_manifest_file_test_%s' % env.get('TARGET_FULLARCH') | 10 srpc_mf_nexe_name = 'srpc_manifest_file_test_%s' % env.get('TARGET_FULLARCH') |
| (...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 106 files=env.ExtractPublishedFiles(pm_pi_mf_nexe_name), | 106 files=env.ExtractPublishedFiles(pm_pi_mf_nexe_name), |
| 107 args=['--debug'], | 107 args=['--debug'], |
| 108 # osenv=['NACLVERBOSITY=4,pp_weak_ref=4,weak_ref=4'] | 108 # osenv=['NACLVERBOSITY=4,pp_weak_ref=4,weak_ref=4'] |
| 109 ) | 109 ) |
| 110 | 110 |
| 111 if not env.Bit('irt'): | 111 if not env.Bit('irt'): |
| 112 env.AddNodeToTestSuite(node, | 112 env.AddNodeToTestSuite(node, |
| 113 ['chrome_browser_tests'], | 113 ['chrome_browser_tests'], |
| 114 'run_pm_pi_manifest_file_chrome_browser_test', | 114 'run_pm_pi_manifest_file_chrome_browser_test', |
| 115 is_broken=env.PPAPIBrowserTesterIsBroken()) | 115 is_broken=env.PPAPIBrowserTesterIsBroken()) |
| 116 |
| 117 # irt version |
| 118 |
| 119 irt_mf_nexe_name = 'irt_manifest_file_test_%s' % env.get('TARGET_FULLARCH') |
| 120 irt_mf_nexe = env.ComponentProgram(irt_mf_nexe_name, |
| 121 'irt_manifest_file_test.cc', |
| 122 EXTRA_LIBS=['nacl_ppapi_util', |
| 123 'weak_ref', |
| 124 'ppapi_cpp', |
| 125 '${PPAPI_LIBS}', |
| 126 'pthread', |
| 127 'srpc', |
| 128 'platform', |
| 129 'gio', |
| 130 'imc', |
| 131 'imc_syscalls', |
| 132 ]) |
| 133 env.Publish(irt_mf_nexe_name, 'run', |
| 134 ['irt_manifest_file_test.html', |
| 135 'irt_manifest_file.nmf']) |
| 136 |
| 137 # chrome_browser_tests |
| 138 |
| 139 node = env.PPAPIBrowserTester( |
| 140 'irt_mf_browser_test.out', |
| 141 url='irt_manifest_file_test.html', |
| 142 files=env.ExtractPublishedFiles(irt_mf_nexe_name), |
| 143 args=['--debug'], |
| 144 # osenv=['NACLVERBOSITY=4,pp_weak_ref=4,weak_ref=4'] |
| 145 ) |
| 146 |
| 147 env.AddNodeToTestSuite(node, |
| 148 ['chrome_browser_tests'], |
| 149 'run_irt_manifest_file_chrome_browser_test', |
| 150 is_broken=env.PPAPIBrowserTesterIsBroken()) |
| OLD | NEW |