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