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

Unified Diff: tests/glibc_socket_wrappers/nacl.scons

Issue 10096008: added a test to check glibc socket functions wrappers (Closed) Base URL: http://src.chromium.org/native_client/trunk/src/native_client/
Patch Set: Created 8 years, 8 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 side-by-side diff with in-line comments
Download patch
Index: tests/glibc_socket_wrappers/nacl.scons
===================================================================
--- tests/glibc_socket_wrappers/nacl.scons (revision 0)
+++ tests/glibc_socket_wrappers/nacl.scons (revision 0)
@@ -0,0 +1,20 @@
+# -*- python -*-
+# Copyright 2008 The Native Client Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can
+# be found in the LICENSE file.
+
+Import('env')
+
+# There is no sock64 in newlib
+if not env.Bit('nacl_glibc'):
+ Return()
+
+test_sock_nexe = env.ComponentProgram('test_sock', 'test_sock.c')
+
+test_sock = env.CommandSelLdrTestNacl(
+ 'test_sock.out',
+ test_sock_nexe,
+ args=[env.File('test_sock_data')])
+
+env.AddNodeToTestSuite(test_sock, ['small_tests'], 'run_sock_test')
+

Powered by Google App Engine
This is Rietveld 408576698