| OLD | NEW |
| 1 # -*- python -*- | 1 # -*- python -*- |
| 2 # Copyright (c) 2012 The Native Client Authors. All rights reserved. | 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 | 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 import platform | 6 import platform |
| 7 import os | 7 import os |
| 8 | 8 |
| 9 Import('env') | 9 Import('env') |
| 10 | 10 |
| (...skipping 622 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 633 | 633 |
| 634 nacl_resource_test_exe = env.ComponentProgram('nacl_resource_test', | 634 nacl_resource_test_exe = env.ComponentProgram('nacl_resource_test', |
| 635 ['nacl_resource_test.c'], | 635 ['nacl_resource_test.c'], |
| 636 EXTRA_LIBS=['sel']) | 636 EXTRA_LIBS=['sel']) |
| 637 node = env.CommandTest( | 637 node = env.CommandTest( |
| 638 'nacl_resource_test.out', | 638 'nacl_resource_test.out', |
| 639 command=[nacl_resource_test_exe]) | 639 command=[nacl_resource_test_exe]) |
| 640 env.AddNodeToTestSuite(node, ['small_tests'], 'run_nacl_resource_test') | 640 env.AddNodeToTestSuite(node, ['small_tests'], 'run_nacl_resource_test') |
| 641 | 641 |
| 642 # Test nacl_signal | 642 # Test nacl_signal |
| 643 if env.Bit('posix'): | 643 if env.Bit('linux'): |
| 644 if (not env.Bit('coverage_enabled') and | 644 if (not env.Bit('coverage_enabled') and |
| 645 not env.Bit('target_arm') and | 645 not env.Bit('target_arm') and |
| 646 not env.Bit('target_mips32') and | 646 not env.Bit('target_mips32') and |
| 647 not env.IsRunningUnderValgrind()): | 647 not env.IsRunningUnderValgrind()): |
| 648 nacl_signal_exe = env.ComponentProgram( | 648 nacl_signal_exe = env.ComponentProgram( |
| 649 'nacl_signal_unittest', 'nacl_signal_unittest.c', | 649 'nacl_signal_unittest', 'nacl_signal_unittest.c', |
| 650 EXTRA_LIBS=['sel']) | 650 EXTRA_LIBS=['sel']) |
| 651 node = env.CommandTest('nacl_signal_unittest.out', | 651 node = env.CommandTest('nacl_signal_unittest.out', |
| 652 command=[nacl_signal_exe]) | 652 command=[nacl_signal_exe]) |
| 653 | 653 |
| (...skipping 365 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1019 is_broken=is_broken) | 1019 is_broken=is_broken) |
| 1020 | 1020 |
| 1021 dyn_array_test_exe = env.ComponentProgram('dyn_array_test', | 1021 dyn_array_test_exe = env.ComponentProgram('dyn_array_test', |
| 1022 ['dyn_array_test.c'], | 1022 ['dyn_array_test.c'], |
| 1023 EXTRA_LIBS=sel_ldr_libs) | 1023 EXTRA_LIBS=sel_ldr_libs) |
| 1024 | 1024 |
| 1025 node = env.CommandTest('dyn_array_test.out', | 1025 node = env.CommandTest('dyn_array_test.out', |
| 1026 command=[dyn_array_test_exe]) | 1026 command=[dyn_array_test_exe]) |
| 1027 | 1027 |
| 1028 env.AddNodeToTestSuite(node, ['small_tests'], 'run_dyn_array_test') | 1028 env.AddNodeToTestSuite(node, ['small_tests'], 'run_dyn_array_test') |
| OLD | NEW |