diff options
author | sbc@chromium.org <sbc@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-05-27 19:05:44 +0000 |
---|---|---|
committer | sbc@chromium.org <sbc@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-05-27 19:05:44 +0000 |
commit | a17467b3f587e127e7153061435c5186174bd255 (patch) | |
tree | 17d483812c695280b208027a120e312a0e27fceb /native_client_sdk | |
parent | 284145ef5545b59030bd65da2e002e54d2c1b8b6 (diff) | |
download | chromium_src-a17467b3f587e127e7153061435c5186174bd255.zip chromium_src-a17467b3f587e127e7153061435c5186174bd255.tar.gz chromium_src-a17467b3f587e127e7153061435c5186174bd255.tar.bz2 |
[NaCl SDK] Temporarily disable SocketTestTCP.Listen test under PNaCl
R=binji@chromium.org, binji
BUG=377084
Review URL: https://codereview.chromium.org/296413008
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@273004 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'native_client_sdk')
-rw-r--r-- | native_client_sdk/src/tests/nacl_io_socket_test/socket_test.cc | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/native_client_sdk/src/tests/nacl_io_socket_test/socket_test.cc b/native_client_sdk/src/tests/nacl_io_socket_test/socket_test.cc index c8e45b1..1954605 100644 --- a/native_client_sdk/src/tests/nacl_io_socket_test/socket_test.cc +++ b/native_client_sdk/src/tests/nacl_io_socket_test/socket_test.cc @@ -584,7 +584,15 @@ TEST_F(SocketTestUDP, Listen) { EXPECT_EQ(errno, ENOTSUP); } -TEST_F(SocketTestTCP, Listen) { +// Temporarily disable the TCP Listen test on PNaCl; +// TODO(sbc): Re-enable once we fix the issue: http://crbug/377084 +#ifdef __pnacl__ +#define MAYBE_Listen DISABLED_Listen +#else +#define MAYBE_Listen Listen +#endif + +TEST_F(SocketTestTCP, MAYBE_Listen) { sockaddr_in addr; socklen_t addrlen = sizeof(addr); const char* client_greeting = "hello"; |