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 # postmessage version of srpc_nameservice_test | |
9 | |
10 pm_ns_obj = env.ComponentObject('pm_nameservice_test.o', | |
11 'pm_nameservice_test.cc') | |
12 pm_ns_nexe_name = env.ProgramNameForNmf('pm_nameservice_test') | |
13 pm_ns_nexe = env.ComponentProgram(pm_ns_nexe_name, | |
14 pm_ns_obj, | |
15 EXTRA_LIBS=['nacl_ppapi_util', | |
16 'ppapi_cpp', | |
17 'pthread', | |
18 'srpc', | |
19 'platform', | |
20 'gio', | |
21 'imc', | |
22 'imc_syscalls', | |
23 ]) | |
24 env.Publish(pm_ns_nexe_name, 'run', | |
25 ['pm_nameservice_test.html']) | |
26 | |
27 # chrome_browser_tests | |
28 | |
29 node = env.PPAPIBrowserTester( | |
30 'pm_nameservice_browser_test.out', | |
31 url='pm_nameservice_test.html', | |
32 nmf_names=['pm_nameservice_test'], | |
33 files=env.ExtractPublishedFiles(pm_ns_nexe_name), | |
34 osenv=['NACLVERBOSITY=0:pp_weak_ref=0:weak_ref=0'] | |
35 ) | |
36 | |
37 env.AddNodeToTestSuite(node, | |
38 ['chrome_browser_tests'], | |
39 'run_pm_nameservice_chrome_browser_test', | |
40 is_broken=env.PPAPIBrowserTesterIsBroken()) | |
OLD | NEW |