OLD | NEW |
(Empty) | |
| 1 # -*- python -*- |
| 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 |
| 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 |
| 12 nexe = 'ppapi_ppb_file_io_%s' % env.get('TARGET_FULLARCH') |
| 13 env.Alias('ppapi_ppb_file_io${PROGSUFFIX}', |
| 14 ['$STAGING_DIR/%s${PROGSUFFIX}' % nexe]) |
| 15 |
| 16 env.ComponentProgram(nexe, |
| 17 ['common.cc', |
| 18 'test_open.cc', |
| 19 'test_read.cc', |
| 20 'test_query.cc', |
| 21 'test_sequence_element.cc', |
| 22 'ppapi_ppb_file_io.cc'], |
| 23 EXTRA_LIBS=['${PPAPI_LIBS}', |
| 24 'ppapi_test_lib', |
| 25 'platform', |
| 26 'pthread', |
| 27 'gio']) |
| 28 |
| 29 env.Publish(nexe, 'run', |
| 30 ['ppapi_ppb_file_io.html', |
| 31 'ppapi_ppb_file_io.nmf', |
| 32 'ppapi_ppb_file_io.js']) |
| 33 |
| 34 node = env.PPAPIBrowserTester('ppapi_ppb_file_io_browser_test.out', |
| 35 url='ppapi_ppb_file_io.html', |
| 36 browser_flags=['--unlimited-quota-for-files'], |
| 37 files=env.ExtractPublishedFiles(nexe)) |
| 38 |
| 39 env.AddNodeToTestSuite(node, |
| 40 ['chrome_browser_tests'], |
| 41 'run_ppapi_ppb_file_io_browser_test', |
| 42 is_broken=env.PPAPIBrowserTesterIsBroken()) |
OLD | NEW |