OLD | NEW |
1 # -*- python -*- | 1 # -*- python -*- |
2 # Copyright 2009 The Native Client Authors. All rights reserved. Use | 2 # Copyright 2009 The Native Client Authors. All rights reserved. Use |
3 # of this source code is governed by a BSD-style license that can be | 3 # 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 Import('env') | 6 Import('env') |
7 | 7 |
8 if 'TRUSTED_ENV' not in env: | 8 if 'TRUSTED_ENV' not in env: |
9 Return() | 9 Return() |
10 | 10 |
11 if env['TARGET_ARCHITECTURE'] == 'arm': | 11 if env['TARGET_ARCHITECTURE'] == 'arm': |
12 # The test fails in our ARM cross-compile/QEMU environment, but only | 12 # The test fails in our ARM cross-compile/QEMU environment, but only |
13 # because the environment lacks libraries, which causes the dlopen() | 13 # because the environment lacks libraries, which causes the dlopen() |
14 # to fail. | 14 # to fail. |
15 Return() | 15 Return() |
16 | 16 |
| 17 if env.Bit('disable_hardy64_vmware_failures'): |
| 18 # Platform qualification check is unreliable on vmware test bots. |
| 19 # Ideally, this test would accept the sel_ldr -Q option, but for now, |
| 20 # we skip this test on hardy64 bots. |
| 21 Return() |
| 22 |
| 23 |
17 trusted_env = env['TRUSTED_ENV'].Clone() | 24 trusted_env = env['TRUSTED_ENV'].Clone() |
18 | 25 |
19 if not trusted_env.Bit('mac'): | 26 if not trusted_env.Bit('mac'): |
20 trusted_env['COMPONENT_STATIC'] = False | 27 trusted_env['COMPONENT_STATIC'] = False |
21 | 28 |
22 | 29 |
23 if trusted_env.Bit('linux'): | 30 if trusted_env.Bit('linux'): |
24 trusted_env.Append( | 31 trusted_env.Append( |
25 CCFLAGS=['-fPIC', '-Wno-long-long',], | 32 CCFLAGS=['-fPIC', '-Wno-long-long',], |
26 # Catch unresolved symbols in libraries. | 33 # Catch unresolved symbols in libraries. |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
70 'http://localhost:5103/srpc_hw.html', | 77 'http://localhost:5103/srpc_hw.html', |
71 '"id=nacl_module;src=ppapi_basic_object.nexe"', | 78 '"id=nacl_module;src=ppapi_basic_object.nexe"', |
72 '${STAGING_DIR}' | 79 '${STAGING_DIR}' |
73 ], | 80 ], |
74 'medium', | 81 'medium', |
75 osenv=('NACL_SEL_LDR=%s,NACLLOG=%s' | 82 osenv=('NACL_SEL_LDR=%s,NACLLOG=%s' |
76 % (sel_ldr, log_file)), | 83 % (sel_ldr, log_file)), |
77 extra_deps=[sel_ldr, ppapi_basic_object_nexe]) | 84 extra_deps=[sel_ldr, ppapi_basic_object_nexe]) |
78 | 85 |
79 env.AddNodeToTestSuite(node, ['medium_tests'], 'run_fake_browser_ppapi_test') | 86 env.AddNodeToTestSuite(node, ['medium_tests'], 'run_fake_browser_ppapi_test') |
OLD | NEW |