| OLD | NEW |
| (Empty) |
| 1 # -*- python -*- | |
| 2 # Copyright (c) 2012 The Chromium 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 Import('env') | |
| 7 | |
| 8 # post message version | |
| 9 | |
| 10 pm_mf_obj = env.ComponentObject('pm_manifest_file_test.o', | |
| 11 'pm_manifest_file_test.cc') | |
| 12 pm_mf_nexe_name = env.ProgramNameForNmf('pm_manifest_file_test') | |
| 13 pm_mf_nexe = env.ComponentProgram(pm_mf_nexe_name, | |
| 14 pm_mf_obj, | |
| 15 EXTRA_LIBS=['nacl_ppapi_util', | |
| 16 'weak_ref', | |
| 17 'ppapi_cpp', | |
| 18 'pthread', | |
| 19 'srpc', | |
| 20 'platform', | |
| 21 'gio', | |
| 22 'imc', | |
| 23 'imc_syscalls', | |
| 24 ]) | |
| 25 env.Publish(pm_mf_nexe_name, 'run', | |
| 26 ['pm_manifest_file_test.html', 'test_file.txt']) | |
| 27 | |
| 28 # chrome_browser_tests | |
| 29 | |
| 30 node = env.PPAPIBrowserTester( | |
| 31 'pm_mf_browser_test.out', | |
| 32 url='pm_manifest_file_test.html', | |
| 33 nmfs=['pm_manifest_file.nmf'], | |
| 34 files=env.ExtractPublishedFiles(pm_mf_nexe_name), | |
| 35 # osenv=['NACLVERBOSITY=4,pp_weak_ref=4,weak_ref=4'] | |
| 36 ) | |
| 37 | |
| 38 env.AddNodeToTestSuite(node, | |
| 39 ['chrome_browser_tests'], | |
| 40 'run_pm_manifest_file_chrome_browser_test', | |
| 41 is_broken=env.PPAPIBrowserTesterIsBroken() or | |
| 42 env.Bit('nacl_glibc')) | |
| 43 | |
| 44 | |
| 45 # post message, pre-init version | |
| 46 | |
| 47 pm_pi_mf_obj = env.ComponentObject('pm_pre_init_manifest_file_test.o', | |
| 48 'pm_pre_init_manifest_file_test.cc') | |
| 49 pm_pi_mf_nexe_name = env.ProgramNameForNmf('pm_pre_init_manifest_file_test') | |
| 50 pm_pi_mf_nexe = env.ComponentProgram(pm_pi_mf_nexe_name, | |
| 51 pm_pi_mf_obj, | |
| 52 EXTRA_LIBS=['nacl_ppapi_util', | |
| 53 'weak_ref', | |
| 54 'ppapi_cpp', | |
| 55 'pthread', | |
| 56 'srpc', | |
| 57 'platform', | |
| 58 'gio', | |
| 59 'imc', | |
| 60 'imc_syscalls', | |
| 61 ]) | |
| 62 env.Publish(pm_pi_mf_nexe_name, 'run', | |
| 63 ['pm_pre_init_manifest_file_test.html', 'test_file.txt']) | |
| 64 | |
| 65 # chrome_browser_tests | |
| 66 | |
| 67 node = env.PPAPIBrowserTester( | |
| 68 'pm_pi_mf_browser_test.out', | |
| 69 url='pm_pre_init_manifest_file_test.html', | |
| 70 nmfs=['pm_pre_init_manifest_file.nmf'], | |
| 71 files=env.ExtractPublishedFiles(pm_pi_mf_nexe_name), | |
| 72 # osenv=['NACLVERBOSITY=4,pp_weak_ref=4,weak_ref=4'] | |
| 73 ) | |
| 74 env.AddNodeToTestSuite(node, | |
| 75 ['chrome_browser_tests'], | |
| 76 'run_pm_pi_manifest_file_chrome_browser_test', | |
| 77 is_broken=env.PPAPIBrowserTesterIsBroken() or | |
| 78 env.Bit('nacl_glibc')) | |
| 79 | |
| 80 irt_mf_nexe_name = env.ProgramNameForNmf('irt_manifest_file_test') | |
| 81 irt_mf_nexe = env.ComponentProgram(irt_mf_nexe_name, | |
| 82 'irt_manifest_file_test.cc', | |
| 83 EXTRA_LIBS=['nacl_ppapi_util', | |
| 84 'weak_ref', | |
| 85 'ppapi_cpp', | |
| 86 'pthread', | |
| 87 'srpc', | |
| 88 'platform', | |
| 89 'gio', | |
| 90 'imc', | |
| 91 'imc_syscalls', | |
| 92 'nacl', | |
| 93 ]) | |
| 94 env.Publish(irt_mf_nexe_name, 'run', | |
| 95 ['irt_manifest_file_test.html', 'test_file.txt']) | |
| 96 node = env.PPAPIBrowserTester( | |
| 97 'irt_mf_browser_test.out', | |
| 98 url='irt_manifest_file_test.html', | |
| 99 nmfs=['irt_manifest_file.nmf'], | |
| 100 files=env.ExtractPublishedFiles(irt_mf_nexe_name), | |
| 101 ) | |
| 102 env.AddNodeToTestSuite(node, | |
| 103 ['chrome_browser_tests'], | |
| 104 'run_irt_manifest_file_chrome_browser_test', | |
| 105 is_broken=env.PPAPIBrowserTesterIsBroken() or | |
| 106 env.Bit('nacl_glibc')) | |
| OLD | NEW |