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

Side by Side Diff: runtime/bin/run_vm_tests_fuchsia.cc

Issue 2281223002: [fuchsia] Some directory operations (Closed)
Patch Set: Created 4 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
« no previous file with comments | « runtime/bin/directory_test.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 #include <fcntl.h> 5 #include <fcntl.h>
6 #include <launchpad/launchpad.h> 6 #include <launchpad/launchpad.h>
7 #include <launchpad/vmo.h> 7 #include <launchpad/vmo.h>
8 #include <magenta/syscalls.h> 8 #include <magenta/syscalls.h>
9 #include <mxio/util.h> 9 #include <mxio/util.h>
10 #include <pthread.h> 10 #include <pthread.h>
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
97 "Fail1", 97 "Fail1",
98 "Fail2", 98 "Fail2",
99 "AllocGeneric_Overflow", 99 "AllocGeneric_Overflow",
100 "CodeImmutability", 100 "CodeImmutability",
101 }; 101 };
102 102
103 // Bugs to fix, or things that are not yet implemented. 103 // Bugs to fix, or things that are not yet implemented.
104 const char* kBugs[] = { 104 const char* kBugs[] = {
105 // Needs NativeSymbolResolver 105 // Needs NativeSymbolResolver
106 "Service_PersistentHandles", 106 "Service_PersistentHandles",
107 // Needs lstat
108 "DirectoryCreateTemp",
109 "DirectoryCreateDelete",
Florian Schneider 2016/08/26 20:34:04 Shouldn't this be just DirectoryDelete?
zra 2016/08/26 21:29:36 The test in directory_test.cc is called DirectoryC
110 // Needs rename
111 "DirectoryRename",
107 }; 112 };
108 113
109 114
110 static bool contains(const char** list, intptr_t len, const char* str) { 115 static bool contains(const char** list, intptr_t len, const char* str) {
111 for (intptr_t i = 0; i < len; i++) { 116 for (intptr_t i = 0; i < len; i++) {
112 if (strcmp(list[i], str) == 0) { 117 if (strcmp(list[i], str) == 0) {
113 return true; 118 return true;
114 } 119 }
115 } 120 }
116 return false; 121 return false;
(...skipping 316 matching lines...) Expand 10 before | Expand all | Expand 10 after
433 RETURN_IF_ERROR(status); 438 RETURN_IF_ERROR(status);
434 439
435 // Complain if we didn't try to run all of the tests. 440 // Complain if we didn't try to run all of the tests.
436 if (test_list_index != lines_count) { 441 if (test_list_index != lines_count) {
437 fprintf(stderr, "Failed to attempt all the tests!\n"); 442 fprintf(stderr, "Failed to attempt all the tests!\n");
438 fflush(0); 443 fflush(0);
439 return -1; 444 return -1;
440 } 445 }
441 return 0; 446 return 0;
442 } 447 }
OLDNEW
« no previous file with comments | « runtime/bin/directory_test.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698