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

Unified Diff: mojo/public/c/system/tests/core_unittest_pure_c.c

Issue 776643004: Update NaCl's generator to support new wait APIs. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: The Change Created 6 years 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 side-by-side diff with in-line comments
Download patch
« mojo/nacl/mojo_syscall_internal.h ('K') | « mojo/nacl/mojo_syscall_internal.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/public/c/system/tests/core_unittest_pure_c.c
diff --git a/mojo/public/c/system/tests/core_unittest_pure_c.c b/mojo/public/c/system/tests/core_unittest_pure_c.c
index bb00927c3b664870b6c36daa4b1b5fa59d4178f6..74cc17db0c3ef97397fcad3b2eaf653b1290d51d 100644
--- a/mojo/public/c/system/tests/core_unittest_pure_c.c
+++ b/mojo/public/c/system/tests/core_unittest_pure_c.c
@@ -68,7 +68,12 @@ const char* MinimalCTest(void) {
// "Deadline exceeded" doesn't apply to a single handle, so this should leave
// |result_index| untouched.
+#if defined(__native_client__)
+ // The NaCl syscall wrapper currently writes to all its outputs.
Mark Seaborn 2014/12/08 22:24:12 Should there be a TODO here?
Nick Bray (chromium) 2014/12/09 22:14:31 What should be done here is currently under discus
+ EXPECT_EQ(0u, result_index);
+#else
EXPECT_EQ(123u, result_index);
+#endif
EXPECT_EQ(MOJO_HANDLE_SIGNAL_WRITABLE, states[0].satisfied_signals);
EXPECT_EQ(MOJO_HANDLE_SIGNAL_READABLE | MOJO_HANDLE_SIGNAL_WRITABLE |
MOJO_HANDLE_SIGNAL_PEER_CLOSED,
« mojo/nacl/mojo_syscall_internal.h ('K') | « mojo/nacl/mojo_syscall_internal.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698