| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (c) 2014 The Native Client Authors. All rights reserved. | 2 * Copyright (c) 2014 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 | 6 |
| 7 #include "native_client/tests/irt_ext/error_report.h" | 7 #include "native_client/tests/irt_ext/error_report.h" |
| 8 #include "native_client/tests/irt_ext/file_desc.h" | 8 #include "native_client/tests/irt_ext/file_desc.h" |
| 9 #include "native_client/tests/irt_ext/libc/file_tests.h" | 9 #include "native_client/tests/irt_ext/mem_calls.h" |
| 10 #include "native_client/tests/irt_ext/libc/libc_test.h" |
| 10 | 11 |
| 11 #include <stdio.h> | 12 #include <stdio.h> |
| 12 | 13 |
| 13 int main(void) { | 14 int main(void) { |
| 14 int ret = 0; | 15 int ret = 0; |
| 15 | 16 |
| 16 /* Initialize the various modules. */ | 17 /* Initialize the various modules. */ |
| 17 init_error_report_module(); | 18 init_error_report_module(); |
| 18 init_file_desc_module(); | 19 init_file_desc_module(); |
| 20 init_mem_calls_module(); |
| 19 | 21 |
| 20 /* Run tests. */ | 22 /* Run tests. */ |
| 21 ret += run_file_tests(); | 23 ret += run_file_tests(); |
| 24 ret += run_mem_tests(); |
| 22 | 25 |
| 23 return ret; | 26 return ret; |
| 24 } | 27 } |
| OLD | NEW |