| 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 args=['--debug'], |
| 36 # osenv=['NACLVERBOSITY=4,pp_weak_ref=4,weak_ref=4'] |
| 37 ) |
| 38 |
| 39 env.AddNodeToTestSuite(node, |
| 40 ['chrome_browser_tests'], |
| 41 'run_pm_manifest_file_chrome_browser_test', |
| 42 is_broken=env.PPAPIBrowserTesterIsBroken() or |
| 43 env.Bit('nacl_glibc')) |
| 44 |
| 45 |
| 46 # post message, pre-init version |
| 47 |
| 48 pm_pi_mf_obj = env.ComponentObject('pm_pre_init_manifest_file_test.o', |
| 49 'pm_pre_init_manifest_file_test.cc') |
| 50 pm_pi_mf_nexe_name = env.ProgramNameForNmf('pm_pre_init_manifest_file_test') |
| 51 pm_pi_mf_nexe = env.ComponentProgram(pm_pi_mf_nexe_name, |
| 52 pm_pi_mf_obj, |
| 53 EXTRA_LIBS=['nacl_ppapi_util', |
| 54 'weak_ref', |
| 55 'ppapi_cpp', |
| 56 'pthread', |
| 57 'srpc', |
| 58 'platform', |
| 59 'gio', |
| 60 'imc', |
| 61 'imc_syscalls', |
| 62 ]) |
| 63 env.Publish(pm_pi_mf_nexe_name, 'run', |
| 64 ['pm_pre_init_manifest_file_test.html', 'test_file.txt']) |
| 65 |
| 66 # chrome_browser_tests |
| 67 |
| 68 node = env.PPAPIBrowserTester( |
| 69 'pm_pi_mf_browser_test.out', |
| 70 url='pm_pre_init_manifest_file_test.html', |
| 71 nmfs=['pm_pre_init_manifest_file.nmf'], |
| 72 files=env.ExtractPublishedFiles(pm_pi_mf_nexe_name), |
| 73 args=['--debug'], |
| 74 # osenv=['NACLVERBOSITY=4,pp_weak_ref=4,weak_ref=4'] |
| 75 ) |
| 76 env.AddNodeToTestSuite(node, |
| 77 ['chrome_browser_tests'], |
| 78 'run_pm_pi_manifest_file_chrome_browser_test', |
| 79 is_broken=env.PPAPIBrowserTesterIsBroken() or |
| 80 env.Bit('nacl_glibc')) |
| 81 |
| 82 irt_mf_nexe_name = env.ProgramNameForNmf('irt_manifest_file_test') |
| 83 irt_mf_nexe = env.ComponentProgram(irt_mf_nexe_name, |
| 84 'irt_manifest_file_test.cc', |
| 85 EXTRA_LIBS=['nacl_ppapi_util', |
| 86 'weak_ref', |
| 87 'ppapi_cpp', |
| 88 'pthread', |
| 89 'srpc', |
| 90 'platform', |
| 91 'gio', |
| 92 'imc', |
| 93 'imc_syscalls', |
| 94 'nacl', |
| 95 ]) |
| 96 env.Publish(irt_mf_nexe_name, 'run', |
| 97 ['irt_manifest_file_test.html', 'test_file.txt']) |
| 98 node = env.PPAPIBrowserTester( |
| 99 'irt_mf_browser_test.out', |
| 100 url='irt_manifest_file_test.html', |
| 101 nmfs=['irt_manifest_file.nmf'], |
| 102 files=env.ExtractPublishedFiles(irt_mf_nexe_name), |
| 103 args=['--debug'], |
| 104 ) |
| 105 env.AddNodeToTestSuite(node, |
| 106 ['chrome_browser_tests'], |
| 107 'run_irt_manifest_file_chrome_browser_test', |
| 108 is_broken=env.PPAPIBrowserTesterIsBroken() or |
| 109 env.Bit('nacl_glibc')) |
| OLD | NEW |