OLD | NEW |
1 # -*- python -*- | 1 # -*- python -*- |
2 # Copyright (c) 2011 The Native Client Authors. All rights reserved. | 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 | 3 # Use of this source code is governed by a BSD-style license that can be |
4 # found in the LICENSE file. | 4 # found in the LICENSE file. |
5 # | 5 # |
6 | 6 |
7 Import('env') | 7 Import('env') |
8 | 8 |
9 env.Prepend(CPPDEFINES=['XP_UNIX']) | 9 env.Prepend(CPPDEFINES=['XP_UNIX']) |
10 env.Replace(TEST_DIR='${SOURCE_ROOT}/ppapi/native_client/tests/ppapi_browser/' + | 10 env.Replace(TEST_DIR='${SOURCE_ROOT}/ppapi/native_client/tests/ppapi_browser/' + |
(...skipping 18 matching lines...) Expand all Loading... |
29 'ppapi_ppb_pdf.js']) | 29 'ppapi_ppb_pdf.js']) |
30 | 30 |
31 node = env.PPAPIBrowserTester('ppapi_ppb_pdf_browser_test.out', | 31 node = env.PPAPIBrowserTester('ppapi_ppb_pdf_browser_test.out', |
32 url='ppapi_ppb_pdf.html', | 32 url='ppapi_ppb_pdf.html', |
33 nmfs=['${TEST_DIR}/ppapi_ppb_pdf.nmf'], | 33 nmfs=['${TEST_DIR}/ppapi_ppb_pdf.nmf'], |
34 files=env.ExtractPublishedFiles(nexe)) | 34 files=env.ExtractPublishedFiles(nexe)) |
35 | 35 |
36 env.AddNodeToTestSuite(node, | 36 env.AddNodeToTestSuite(node, |
37 ['chrome_browser_tests'], | 37 ['chrome_browser_tests'], |
38 'run_ppapi_ppb_pdf_browser_test', | 38 'run_ppapi_ppb_pdf_browser_test', |
39 is_broken=env.PPAPIBrowserTesterIsBroken()) | 39 # Pnacl x86-64 requires a shim. However the shim |
| 40 # is generated via IDL, and pdf header is not |
| 41 # generated via IDL right now |
| 42 # http://code.google.com/p/chromium/issues/detail?id=89968 |
| 43 is_broken=( |
| 44 env.PPAPIBrowserTesterIsBroken() or |
| 45 (env.Bit('bitcode') and env.Bit('target_x86_64')))) |
OLD | NEW |