| 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 20 matching lines...) Expand all Loading... |
| 31 ], | 31 ], |
| 32 ) | 32 ) |
| 33 | 33 |
| 34 | 34 |
| 35 # ---------------------------------------------------------- | 35 # ---------------------------------------------------------- |
| 36 # TODO(robertm): this library is too big and needs to be split up | 36 # TODO(robertm): this library is too big and needs to be split up |
| 37 # for easier unit testing | 37 # for easier unit testing |
| 38 ldr_inputs = [ | 38 ldr_inputs = [ |
| 39 'dyn_array.c', | 39 'dyn_array.c', |
| 40 'elf_util.c', | 40 'elf_util.c', |
| 41 'load_file.c', |
| 41 'nacl_all_modules.c', | 42 'nacl_all_modules.c', |
| 42 'nacl_app_thread.c', | 43 'nacl_app_thread.c', |
| 43 'nacl_bootstrap_channel_error_reporter.c', | 44 'nacl_bootstrap_channel_error_reporter.c', |
| 44 'nacl_copy.c', | 45 'nacl_copy.c', |
| 45 'nacl_desc_effector_ldr.c', | 46 'nacl_desc_effector_ldr.c', |
| 46 'nacl_desc_postmessage.c', | 47 'nacl_desc_postmessage.c', |
| 47 'nacl_error_gio.c', | 48 'nacl_error_gio.c', |
| 48 'nacl_error_log_hook.c', | 49 'nacl_error_log_hook.c', |
| 49 'nacl_globals.c', | 50 'nacl_globals.c', |
| 50 'nacl_kernel_service.c', | 51 'nacl_kernel_service.c', |
| (...skipping 949 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1000 node = env.CommandTest( | 1001 node = env.CommandTest( |
| 1001 'nacl_error_log_test.out', | 1002 'nacl_error_log_test.out', |
| 1002 command=[exe], | 1003 command=[exe], |
| 1003 exit_status=expected_exit, | 1004 exit_status=expected_exit, |
| 1004 filter_regex='"(NaClCrashLogWriter.*)|(This is a test of the emergency.*)"', | 1005 filter_regex='"(NaClCrashLogWriter.*)|(This is a test of the emergency.*)"', |
| 1005 filter_group_only='true', | 1006 filter_group_only='true', |
| 1006 stdout_golden=env.File('nacl_error_log_test.stdout')) | 1007 stdout_golden=env.File('nacl_error_log_test.stdout')) |
| 1007 | 1008 |
| 1008 env.AddNodeToTestSuite(node, ['small_tests'], | 1009 env.AddNodeToTestSuite(node, ['small_tests'], |
| 1009 'run_nacl_error_log_test') | 1010 'run_nacl_error_log_test') |
| OLD | NEW |