OLD | NEW |
| (Empty) |
1 # -*- python -*- | |
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 | |
4 # found in the LICENSE file. | |
5 # | |
6 # This test uses ppapi_test_lib. | |
7 | |
8 Import('env') | |
9 | |
10 env.Prepend(CPPDEFINES=['XP_UNIX']) | |
11 env.Replace(TEST_DIR='${SOURCE_ROOT}/ppapi/native_client/tests/ppapi_browser/' + | |
12 'ppb_url_request_info') | |
13 | |
14 nexe = env.ProgramNameForNmf('ppapi_ppb_url_request_info') | |
15 env.Alias('ppapi_ppb_url_request_info${PROGSUFFIX}', | |
16 [ '$STAGING_DIR/%s${PROGSUFFIX}' % nexe ]) | |
17 | |
18 ppapi_ppb_url_request_info_nexe = env.ComponentProgram( | |
19 nexe, | |
20 [ 'ppapi_ppb_url_request_info.cc' ], | |
21 EXTRA_LIBS=['${PPAPI_LIBS}', | |
22 'ppapi_test_lib', | |
23 'platform', # for CHECK | |
24 'pthread', | |
25 'gio', | |
26 ]) | |
27 | |
28 env.Publish(nexe, 'run', | |
29 ['ppapi_ppb_url_request_info.html', | |
30 'ppapi_ppb_url_request_info.js']) | |
31 | |
32 node = env.PPAPIBrowserTester( | |
33 'ppapi_ppb_url_request_info_browser_test.out', | |
34 url='ppapi_ppb_url_request_info.html', | |
35 nmf_names=['ppapi_ppb_url_request_info'], | |
36 files=env.ExtractPublishedFiles(nexe), | |
37 browser_flags=['--enable-pepper-testing']) | |
38 | |
39 # This test is being deprecated and is no longer part of chrome_browser_tests | |
40 # that are run automatically during nacl_intergration on the chrome bots. | |
41 # It is still around for reference when fixing and porting TestAppendFileToBody. | |
42 # see crbug.com/110242. | |
43 env.AddNodeToTestSuite(node, | |
44 ['chrome_browser_tests'], | |
45 'run_ppapi_ppb_url_request_info_browser_test', | |
46 is_broken=True) | |
OLD | NEW |