OLD | NEW |
1 # -*- python -*- | 1 # -*- python -*- |
2 # Copyright 2010 The Native Client Authors. All rights reserved. | 2 # Copyright 2010 The Native Client Authors. All rights reserved. |
3 # Use of this source code is governed by a BSD-style license that can | 3 # Use of this source code is governed by a BSD-style license that can |
4 # be found in the LICENSE file. | 4 # be found in the LICENSE file. |
5 | 5 |
6 Import('env') | 6 Import('env') |
7 | 7 |
8 # This is built by tests/srpc_hw/nacl.scons. | 8 # This is built by tests/srpc_hw/nacl.scons. |
9 srpc_hello_world_prog = env.File('${STAGING_DIR}/srpc_hw.nexe') | 9 srpc_hello_world_prog = env.File('${STAGING_DIR}/srpc_hw.nexe') |
10 # This is built by tests/npapi_hw/nacl.scons. | 10 # This is built by tests/npapi_hw/nacl.scons. |
(...skipping 13 matching lines...) Expand all Loading... |
24 | 24 |
25 if 'TRUSTED_ENV' not in env: | 25 if 'TRUSTED_ENV' not in env: |
26 Return() | 26 Return() |
27 | 27 |
28 if env['TARGET_ARCHITECTURE'] == 'arm': | 28 if env['TARGET_ARCHITECTURE'] == 'arm': |
29 # The test fails in our ARM cross-compile/QEMU environment, but only | 29 # The test fails in our ARM cross-compile/QEMU environment, but only |
30 # because the environment lacks libraries, which causes the dlopen() | 30 # because the environment lacks libraries, which causes the dlopen() |
31 # to fail. | 31 # to fail. |
32 Return() | 32 Return() |
33 | 33 |
| 34 if env.Bit('disable_hardy64_vmware_failures'): |
| 35 # Platform qualification check is unreliable on vmware test bots. |
| 36 # Ideally, this test would accept the sel_ldr -Q option, but for now, |
| 37 # we skip this test on hardy64 bots. |
| 38 Return() |
| 39 |
34 trusted_env = env['TRUSTED_ENV'].Clone() | 40 trusted_env = env['TRUSTED_ENV'].Clone() |
35 | 41 |
36 if trusted_env.Bit('windows'): | 42 if trusted_env.Bit('windows'): |
37 # This is necessary to get npupp.h to correctly define OSCALL to be | 43 # This is necessary to get npupp.h to correctly define OSCALL to be |
38 # WINAPI. Without this, we use the wrong function calling | 44 # WINAPI. Without this, we use the wrong function calling |
39 # conventions for NP_Initialize() etc. | 45 # conventions for NP_Initialize() etc. |
40 trusted_env.Append(CPPDEFINES=['_WINDOWS']) | 46 trusted_env.Append(CPPDEFINES=['_WINDOWS']) |
41 | 47 |
42 if trusted_env.Bit('linux'): | 48 if trusted_env.Bit('linux'): |
43 # We do not depend on libpthread ourselves, but poor old gdb has | 49 # We do not depend on libpthread ourselves, but poor old gdb has |
(...skipping 24 matching lines...) Expand all Loading... |
68 'async_message_test.nexe', async_message_prog, | 74 'async_message_test.nexe', async_message_prog, |
69 'hello_world.nexe', simplest_hello_world_prog, | 75 'hello_world.nexe', simplest_hello_world_prog, |
70 'spin.nexe', spin_prog, | 76 'spin.nexe', spin_prog, |
71 'deferred_srpc_init.nexe', deferred_srpc_init_prog], | 77 'deferred_srpc_init.nexe', deferred_srpc_init_prog], |
72 'medium', | 78 'medium', |
73 osenv=('NACL_SEL_LDR=%s,NACLLOG=%s' | 79 osenv=('NACL_SEL_LDR=%s,NACLLOG=%s' |
74 % (sel_ldr, log_file)), | 80 % (sel_ldr, log_file)), |
75 extra_deps=[sel_ldr]) | 81 extra_deps=[sel_ldr]) |
76 | 82 |
77 env.AddNodeToTestSuite(node, ['medium_tests'], 'run_fake_browser_test') | 83 env.AddNodeToTestSuite(node, ['medium_tests'], 'run_fake_browser_test') |
OLD | NEW |