Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(412)

Side by Side Diff: tests/irt_ext/libc/libc_test.c

Issue 511253005: Added irt extension support for supplying the nacl_irt_memory interface. (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client
Patch Set: Removed support for nacl_interface_ext_supply of older interface versions Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698