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.
8 # Select the set of tests to run through inbrowser_test_runner.
13 # These conditionals mirror conditionals in
14 # dynamic_code_loading/nacl.scons. The dyncode tests don't work with
15 # dynamic linking yet, and they don't build with non-ARM PNaCl.
16 if (nacl_env.Bit('nacl_static_link') and
17 not (nacl_env.Bit('bitcode') and not nacl_env.Bit('target_arm'))):
18 exe_list.append('dynamic_load_test')
20 # Dynamic code modification is not implemented for ARM yet.
21 if not nacl_env.Bit('target_arm'):
22 exe_list.append('dynamic_modify_test')
24 if nacl_env.Clone().AllowInlineAssembly():
25 exe_list.append('exception_test')
27 nacl_env['TESTS_TO_RUN_INBROWSER'] = exe_list