All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] nspr: Compile nspr with tests 1. Compile package tests suite 2. Add patch for removing rpath from binaries 3. Add tests to -dev rpm as it needs dev libraries
@ 2012-02-11 12:46 Andrei Gherzan
  2012-02-11 12:50 ` Andrei Gherzan
  2012-02-11 12:55 ` Otavio Salvador
  0 siblings, 2 replies; 5+ messages in thread
From: Andrei Gherzan @ 2012-02-11 12:46 UTC (permalink / raw)
  To: openembedded-core

Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
---
 .../nspr/files/remove-rpath-from-tests.patch       |   21 +++
 meta/recipes-support/nspr/nspr_4.8.9.bb            |  135 +++++++++++++++++++-
 2 files changed, 152 insertions(+), 4 deletions(-)
 create mode 100644 meta/recipes-support/nspr/files/remove-rpath-from-tests.patch

diff --git a/meta/recipes-support/nspr/files/remove-rpath-from-tests.patch b/meta/recipes-support/nspr/files/remove-rpath-from-tests.patch
new file mode 100644
index 0000000..819c784
--- /dev/null
+++ b/meta/recipes-support/nspr/files/remove-rpath-from-tests.patch
@@ -0,0 +1,21 @@
+Author: Andrei Gherzan <andrei@gherzan.ro>
+Date:   Thu Feb 9 00:03:38 2012 +0200
+
+Avoid QA warnings by removing hardcoded rpath from binaries.
+
+Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
+Upstream-Status: Pending
+
+Index: nspr-4.8.9/mozilla/nsprpub/pr/tests/Makefile.in
+===================================================================
+--- nsprpub.orig/pr/tests/Makefile.in	2012-02-11 00:01:10.476220505 +0200
++++ nsprpub/pr/tests/Makefile.in	2012-02-10 23:57:40.000000000 +0200
+@@ -379,7 +379,7 @@
+ endif
+ 
+ ifeq (,$(filter-out Linux GNU GNU_%,$(OS_ARCH)))
+-    LDOPTS += -Xlinker -rpath $(ABSOLUTE_LIB_DIR)
++    LDOPTS += -Xlinker
+     ifeq ($(USE_PTHREADS),1)
+         EXTRA_LIBS = -lpthread
+     endif
diff --git a/meta/recipes-support/nspr/nspr_4.8.9.bb b/meta/recipes-support/nspr/nspr_4.8.9.bb
index da324fc..a2b2b6a 100644
--- a/meta/recipes-support/nspr/nspr_4.8.9.bb
+++ b/meta/recipes-support/nspr/nspr_4.8.9.bb
@@ -5,17 +5,135 @@ LIC_FILES_CHKSUM = "file://configure.in;beginline=3;endline=40;md5=99d4d7d68bbc4
                     file://Makefile.in;beginline=4;endline=38;md5=c2b512182a334e1bfa1edc4d1c84a298 "
 SECTION = "libs/network"
 
-PR = "r0"
+PR = "r1"
 
-SRC_URI = "ftp://ftp.mozilla.org/pub/mozilla.org/nspr/releases/v${PV}/src/nspr-${PV}.tar.gz"
+SRC_URI = "ftp://ftp.mozilla.org/pub/mozilla.org/nspr/releases/v${PV}/src/nspr-${PV}.tar.gz \
+           file://remove-rpath-from-tests.patch"
 
-SRC_URI += "file://nspr.pc.in "
+SRC_URI += "file://nspr.pc.in"
 
 SRC_URI[md5sum] = "60770d45dc08c0f181b22cdfce5be3e8"
 SRC_URI[sha256sum] = "ff43c7c819e72f03bb908e7652c5d5f59a5d31ee86c333e692650207103d1cce"
 
 S = "${WORKDIR}/nspr-${PV}/mozilla/nsprpub"
 
+TESTS = "runtests.pl \
+    runtests.sh \
+    accept \
+    acceptread \
+    acceptreademu \
+    affinity \
+    alarm \
+    anonfm \
+    atomic \
+    attach \
+    bigfile \
+    cleanup \
+    cltsrv  \
+    concur \
+    cvar \
+    cvar2 \
+    dlltest \
+    dtoa \
+    errcodes \
+    exit \
+    fdcach \
+    fileio \
+    foreign \
+    formattm \
+    fsync \
+    gethost \
+    getproto \
+    i2l \
+    initclk \
+    inrval \
+    instrumt \
+    intrio \
+    intrupt \
+    io_timeout \
+    ioconthr \
+    join \
+    joinkk \
+    joinku \
+    joinuk \
+    joinuu \
+    layer \
+    lazyinit \
+    libfilename \
+    lltest \
+    lock \
+    lockfile \
+    logfile \
+    logger \
+    many_cv \
+    multiwait \
+    nameshm1 \
+    nblayer \
+    nonblock \
+    ntioto \
+    ntoh \
+    op_2long \
+    op_excl \
+    op_filnf \
+    op_filok \
+    op_nofil \
+    parent \
+    parsetm \
+    peek \
+    perf \
+    pipeping \
+    pipeping2 \
+    pipeself \
+    poll_nm \
+    poll_to \
+    pollable \
+    prftest \
+    primblok \
+    provider \
+    prpollml \
+    ranfile \
+    randseed \
+    reinit \
+    rwlocktest \
+    sel_spd \
+    selct_er \
+    selct_nm \
+    selct_to \
+    selintr \
+    sema \
+    semaerr \
+    semaping \
+    sendzlf \
+    server_test \
+    servr_kk \
+    servr_uk \
+    servr_ku \
+    servr_uu \
+    short_thread \
+    sigpipe \
+    socket \
+    sockopt \
+    sockping \
+    sprintf \
+    stack \
+    stdio \
+    str2addr \
+    strod \
+    switch \
+    system \
+    testbit \
+    testfile \
+    threads \
+    timemac \
+    timetest \
+    tpd \
+    udpsrv \
+    vercheck \
+    version \
+    writev \
+    xnotify \
+    zerolen"
+
 inherit autotools
 
 do_configure() {
@@ -26,12 +144,21 @@ do_compile_prepend() {
 	oe_runmake CROSS_COMPILE=1 CFLAGS="-DXP_UNIX" LDFLAGS="" CC=gcc -C config export
 }
 
+do_compile_append() {
+    cd pr/tests
+    make
+}
+
 do_install_append() {
     install -D ${WORKDIR}/nspr.pc.in ${D}${libdir}/pkgconfig/nspr.pc
     sed -i s:OEPREFIX:${prefix}:g ${D}${libdir}/pkgconfig/nspr.pc
     sed -i s:OELIBDIR:${libdir}:g ${D}${libdir}/pkgconfig/nspr.pc
     sed -i s:OEINCDIR:${includedir}:g ${D}${libdir}/pkgconfig/nspr.pc
     sed -i s:OEEXECPREFIX:${exec_prefix}:g ${D}${libdir}/pkgconfig/nspr.pc
+    cd ${S}/pr/tests
+    mkdir -p ${D}/opt/nspr_tests
+    install -m 0755 ${TESTS} ${D}/opt/nspr_tests
 }
 
-
+FILES_${PN}-dev += "/opt/nspr_tests/*"
+FILES_${PN}-dbg += "/opt/nspr_tests/.debug/*"
-- 
1.7.5.4




^ permalink raw reply related	[flat|nested] 5+ messages in thread

* Re: [PATCH] nspr: Compile nspr with tests 1. Compile package tests suite 2. Add patch for removing rpath from binaries 3. Add tests to -dev rpm as it needs dev libraries
  2012-02-11 12:46 [PATCH] nspr: Compile nspr with tests 1. Compile package tests suite 2. Add patch for removing rpath from binaries 3. Add tests to -dev rpm as it needs dev libraries Andrei Gherzan
@ 2012-02-11 12:50 ` Andrei Gherzan
  2012-02-11 12:55 ` Otavio Salvador
  1 sibling, 0 replies; 5+ messages in thread
From: Andrei Gherzan @ 2012-02-11 12:50 UTC (permalink / raw)
  To: openembedded-core


[-- Attachment #1.1: Type: text/plain, Size: 660 bytes --]

On Sat, Feb 11, 2012 at 14:46, Andrei Gherzan <andrei@gherzan.ro> wrote:

> Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
> ---
>  .../nspr/files/remove-rpath-from-tests.patch       |   21 +++
>  meta/recipes-support/nspr/nspr_4.8.9.bb            |  135
> +++++++++++++++++++-
>  2 files changed, 152 insertions(+), 4 deletions(-)
>  create mode 100644
> meta/recipes-support/nspr/files/remove-rpath-from-tests.patch
>
>
>
I attached the log after running this test suite in qemuarm.

I skipped nameshm1 and semapping because my test run was blocked at these
tests. Didn't have time to investigate the problem but if needed, i will.

@g

[-- Attachment #1.2: Type: text/html, Size: 1102 bytes --]

[-- Attachment #2: results2.log --]
[-- Type: text/x-log, Size: 101339 bytes --]


BEGIN TEST: accept

PASS

END TEST: accept


BEGIN TEST: acceptread

Testing w/ write_dally = 0 msec
Accepted connection from (0x409bfbd8)127.0.0.1:51869
(Server) read [0x409bfb60..0x409bfbd5) GET / HTTP/1.0


PR_Recv (client) succeeded: 17 bytes
GET / HTTP/1.0


Testing w/ write_dally = 500 msec
Accepted connection from (0x409bfbd8)127.0.0.1:52125
(Server) read [0x409bfb60..0x409bfbd5) GET / HTTP/1.0


PR_Recv (client) succeeded: 17 bytes
GET / HTTP/1.0


Testing w/ write_dally = 1000 msec
Accepted connection from (0x409bfbd8)127.0.0.1:52381
(Server) read [0x409bfb60..0x409bfbd5) GET / HTTP/1.0


PR_Recv (client) succeeded: 17 bytes
GET / HTTP/1.0


Testing w/ write_dally = 1500 msec
Accepted connection from (0x409bfbd8)127.0.0.1:52637
(Server) read [0x409bfb60..0x409bfbd5) GET / HTTP/1.0


PR_Recv (client) succeeded: 17 bytes
GET / HTTP/1.0


Testing w/ write_dally = 2000 msec
PR_AcceptRead (server) failed: PR_IO_TIMEOUT_ERROR(-5990), oserror = 0
PR_Recv (client) succeeded: 0 bytes
GET / HTTP/1.0


PR_Shutdown (client) failed: PR_NOT_CONNECTED_ERROR(-5978), oserror = 107
Testing w/ write_dally = 2500 msec
PR_AcceptRead (server) failed: PR_IO_TIMEOUT_ERROR(-5990), oserror = 0
PR_Recv (client) succeeded: 0 bytes
GET / HTTP/1.0


PR_Shutdown (client) failed: PR_NOT_CONNECTED_ERROR(-5978), oserror = 107

END TEST: acceptread


BEGIN TEST: acceptreademu

Testing w/ write_dally = 0 msec
Accepted connection from (0x40948bd8)127.0.0.1:53405
(Server) read [0x40948b60..0x40948bd5) GET / HTTP/1.0


PR_Recv (client) succeeded: 17 bytes
GET / HTTP/1.0


Testing w/ write_dally = 500 msec
Accepted connection from (0x40948bd8)127.0.0.1:53661
(Server) read [0x40948b60..0x40948bd5) GET / HTTP/1.0


PR_Recv (client) succeeded: 17 bytes
GET / HTTP/1.0


Testing w/ write_dally = 1000 msec
Accepted connection from (0x40948bd8)127.0.0.1:53917
(Server) read [0x40948b60..0x40948bd5) GET / HTTP/1.0


PR_Recv (client) succeeded: 17 bytes
GET / HTTP/1.0


Testing w/ write_dally = 1500 msec
Accepted connection from (0x40948bd8)127.0.0.1:54173
(Server) read [0x40948b60..0x40948bd5) GET / HTTP/1.0


PR_Recv (client) succeeded: 17 bytes
GET / HTTP/1.0


Testing w/ write_dally = 2000 msec
PR_AcceptRead (server) failed: PR_IO_TIMEOUT_ERROR(-5990), oserror = 0
PR_Recv (client) succeeded: 0 bytes
GET / HTTP/1.0


PR_Shutdown (client) failed: PR_NOT_CONNECTED_ERROR(-5978), oserror = 107
Testing w/ write_dally = 2500 msec
PR_AcceptRead (server) failed: PR_IO_TIMEOUT_ERROR(-5990), oserror = 0
PR_Recv (client) succeeded: 0 bytes
GET / HTTP/1.0


PR_Shutdown (client) failed: PR_NOT_CONNECTED_ERROR(-5978), oserror = 107

END TEST: acceptreademu


BEGIN TEST: affinity

main: creating local thread
	thread_start: AffinityMask = 0x0
main: creating global thread
	thread_start: AffinityMask = 0x0
main: creating global bound thread
	thread_start: AffinityMask = 0x0

END TEST: affinity


BEGIN TEST: alarm


END TEST: alarm


BEGIN TEST: anonfm


END TEST: anonfm


BEGIN TEST: atomic

PR_AtomicIncrement(-2) == -1: PASSED
PR_AtomicIncrement(-1) == 0: PASSED
PR_AtomicIncrement(0) == 1: PASSED
PR_AtomicAdd(-2,1) == -1: PASSED
PR_AtomicAdd(-1,4) == 3: PASSED
PR_AtomicAdd(3,-6) == -3: PASSED
PR_AtomicDecrement(2) == 1: PASSED
PR_AtomicDecrement(1) == 0: PASSED
PR_AtomicDecrement(0) == -1: PASSED
PR_AtomicSet(-2, 2) == -2: PASSED
PR_AtomicSet(-2, -2) == -2: PASSED
PR_ATOMIC_INCREMENT(-2) == -1: PASSED
PR_ATOMIC_INCREMENT(-1) == 0: PASSED
PR_ATOMIC_INCREMENT(0) == 1: PASSED
PR_ATOMIC_ADD(-2,1) == -1: PASSED
PR_ATOMIC_ADD(-1,4) == 3: PASSED
PR_ATOMIC_ADD(3,-6) == -3: PASSED
PR_ATOMIC_DECREMENT(2) == 1: PASSED
PR_ATOMIC_DECREMENT(1) == 0: PASSED
PR_ATOMIC_DECREMENT(0) == -1: PASSED
PR_ATOMIC_SET(-2, 2) == -2: PASSED
PR_ATOMIC_SET(-2, -2) == -2: PASSED
Atomic operations test PASSED

END TEST: atomic


BEGIN TEST: attach


END TEST: attach


BEGIN TEST: bigfile


END TEST: bigfile


BEGIN TEST: cleanup

Cleanup settings
	Thread type: LOCAL
	Concurrency: 1
	Number of threads: 1
	Thread sleep: 10
	Main sleep: 5
	Cleanup will NOT be called

main() exiting

END TEST: cleanup


BEGIN TEST: cltsrv


PThread Statistics
	started: 12:11:03[14]
	locks [created: 14, destroyed: 2]
	locks [acquired: 349, released: 348]
	cvars [created: 7, destroyed: 4]
	cvars [notified: 29, delayed_delete: 0]
Client/Server started at(0x0x15588): 12:11:03
Server started at(0x0x166d8): 12:11:03
main(0x0x15588): waiting for execution interval (10 seconds)
Client started at(0x0x169d8): 12:11:03
Shutting down(0x0x15588): 12:11:13
	Client(0x0x169d8): stopped after 22 operations and 20156 bytes
	Server(0x0x166d8): stopped after 22 operations and 20156 bytes
main(0x0x15588): test complete
Test exiting at(0x0x15588): 12:11:17

END TEST: cltsrv


BEGIN TEST: concur

PASSED

END TEST: concur


BEGIN TEST: cvar


END TEST: cvar


BEGIN TEST: cvar2


CondVar Test:                                                           
                                                                        
Simple test creates several local and global threads; half use a single,
shared condvar, and the other half have their own condvar.  The main    
thread then loops notifying them to wakeup.                             
                                                                        
The timeout test is very similar except that the threads are not        
notified.  They will all wakeup on a 1 second timeout.                  
                                                                        
The mixed test combines the simple test and the timeout test; every     
third thread is notified, the other threads are expected to timeout     
correctly.                                                              
                                                                        
Lastly, the combined test creates a thread for each of the above three  
cases and they all run simultaneously.                                  
                                                                        
This test is run with 5, 10, 15, and 20 threads of each type.


5 Thread tests
           Condvar simple test shared UU: 110.00 usec
           Condvar simple test shared UK: 100.00 usec
             Condvar simple test priv UU: 510.00 usec
             Condvar simple test priv UK: 510.00 usec
                 Condvar simple test All: 1210.00 usec
                    Condvar timeout test: 890.00 usec

10 Thread tests
           Condvar simple test shared UU: 320.00 usec
           Condvar simple test shared UK: 170.00 usec
             Condvar simple test priv UU: 990.00 usec
             Condvar simple test priv UK: 1000.00 usec
                 Condvar simple test All: 4050.00 usec
                    Condvar timeout test: 1200.00 usec

15 Thread tests
           Condvar simple test shared UU: 270.00 usec
           Condvar simple test shared UK: 250.00 usec
             Condvar simple test priv UU: 1490.00 usec
             Condvar simple test priv UK: 1590.00 usec
                 Condvar simple test All: 6080.00 usec
                    Condvar timeout test: 1400.00 usec

20 Thread tests
           Condvar simple test shared UU: 2060.00 usec
           Condvar simple test shared UK: 2150.00 usec
             Condvar simple test priv UU: 2030.00 usec
             Condvar simple test priv UK: 2010.00 usec
                 Condvar simple test All: 8130.00 usec
                    Condvar timeout test: 1500.00 usec
PASS

END TEST: cvar2


BEGIN TEST: dlltest

PR_LoadLibrary failed (-5977, 0, dll/libmy.so: cannot open shared object file: No such file or directory)
Assertion failure: lib != NULL, at prlink.c:1241

END TEST: dlltest


BEGIN TEST: dtoa

PASSED

END TEST: dtoa


BEGIN TEST: errcodes


Number of error codes = 73

PR_OUT_OF_MEMORY_ERROR                   = -6000
PR_BAD_DESCRIPTOR_ERROR                  = -5999
PR_WOULD_BLOCK_ERROR                     = -5998
PR_ACCESS_FAULT_ERROR                    = -5997
PR_INVALID_METHOD_ERROR                  = -5996
PR_ILLEGAL_ACCESS_ERROR                  = -5995
PR_UNKNOWN_ERROR                         = -5994
PR_PENDING_INTERRUPT_ERROR               = -5993
PR_NOT_IMPLEMENTED_ERROR                 = -5992
PR_IO_ERROR                              = -5991
PR_IO_TIMEOUT_ERROR                      = -5990
PR_IO_PENDING_ERROR                      = -5989
PR_DIRECTORY_OPEN_ERROR                  = -5988
PR_INVALID_ARGUMENT_ERROR                = -5987
PR_ADDRESS_NOT_AVAILABLE_ERROR           = -5986
PR_ADDRESS_NOT_SUPPORTED_ERROR           = -5985
PR_IS_CONNECTED_ERROR                    = -5984
PR_BAD_ADDRESS_ERROR                     = -5983
PR_ADDRESS_IN_USE_ERROR                  = -5982
PR_CONNECT_REFUSED_ERROR                 = -5981
PR_NETWORK_UNREACHABLE_ERROR             = -5980
PR_CONNECT_TIMEOUT_ERROR                 = -5979
PR_NOT_CONNECTED_ERROR                   = -5978
PR_LOAD_LIBRARY_ERROR                    = -5977
PR_UNLOAD_LIBRARY_ERROR                  = -5976
PR_FIND_SYMBOL_ERROR                     = -5975
PR_INSUFFICIENT_RESOURCES_ERROR          = -5974
PR_DIRECTORY_LOOKUP_ERROR                = -5973
PR_TPD_RANGE_ERROR                       = -5972
PR_PROC_DESC_TABLE_FULL_ERROR            = -5971
PR_SYS_DESC_TABLE_FULL_ERROR             = -5970
PR_NOT_SOCKET_ERROR                      = -5969
PR_NOT_TCP_SOCKET_ERROR                  = -5968
PR_SOCKET_ADDRESS_IS_BOUND_ERROR         = -5967
PR_NO_ACCESS_RIGHTS_ERROR                = -5966
PR_OPERATION_NOT_SUPPORTED_ERROR         = -5965
PR_PROTOCOL_NOT_SUPPORTED_ERROR          = -5964
PR_REMOTE_FILE_ERROR                     = -5963
PR_BUFFER_OVERFLOW_ERROR                 = -5962
PR_CONNECT_RESET_ERROR                   = -5961
PR_RANGE_ERROR                           = -5960
PR_DEADLOCK_ERROR                        = -5959
PR_FILE_IS_LOCKED_ERROR                  = -5958
PR_FILE_TOO_BIG_ERROR                    = -5957
PR_NO_DEVICE_SPACE_ERROR                 = -5956
PR_PIPE_ERROR                            = -5955
PR_NO_SEEK_DEVICE_ERROR                  = -5954
PR_IS_DIRECTORY_ERROR                    = -5953
PR_LOOP_ERROR                            = -5952
PR_NAME_TOO_LONG_ERROR                   = -5951
PR_FILE_NOT_FOUND_ERROR                  = -5950
PR_NOT_DIRECTORY_ERROR                   = -5949
PR_READ_ONLY_FILESYSTEM_ERROR            = -5948
PR_DIRECTORY_NOT_EMPTY_ERROR             = -5947
PR_FILESYSTEM_MOUNTED_ERROR              = -5946
PR_NOT_SAME_DEVICE_ERROR                 = -5945
PR_DIRECTORY_CORRUPTED_ERROR             = -5944
PR_FILE_EXISTS_ERROR                     = -5943
PR_MAX_DIRECTORY_ENTRIES_ERROR           = -5942
PR_INVALID_DEVICE_STATE_ERROR            = -5941
PR_DEVICE_IS_LOCKED_ERROR                = -5940
PR_NO_MORE_FILES_ERROR                   = -5939
PR_END_OF_FILE_ERROR                     = -5938
PR_FILE_SEEK_ERROR                       = -5937
PR_FILE_IS_BUSY_ERROR                    = -5936
PR_IN_PROGRESS_ERROR                     = -5934
PR_ALREADY_INITIATED_ERROR               = -5933
PR_GROUP_EMPTY_ERROR                     = -5932
PR_INVALID_STATE_ERROR                   = -5931
PR_NETWORK_DOWN_ERROR                    = -5930
PR_SOCKET_SHUTDOWN_ERROR                 = -5929
PR_CONNECT_ABORTED_ERROR                 = -5928
PR_HOST_UNREACHABLE_ERROR                = -5927

END TEST: errcodes


BEGIN TEST: exit


END TEST: exit


BEGIN TEST: fdcach

PASS

END TEST: fdcach


BEGIN TEST: fileio

'PR_NewSem' is obsolete. Use 'locks & condition variables' instead.
'PR_WaitSem' is obsolete. Use 'locks & condition variables' instead.
'PR_PostSem' is obsolete. Use 'locks & condition variables' instead.
'PR_DestroySem' is obsolete. Use 'locks & condition variables' instead.
PASS

END TEST: fileio


BEGIN TEST: foreign


END TEST: foreign


BEGIN TEST: formattm

Sat Feb 11 12:11:48 UTC 2012

Sat Feb 11 12:11:48 UTC 2012

END TEST: formattm


BEGIN TEST: fsync

10 iterations over a 10 kbyte file: 0 [0] 1000

END TEST: fsync


BEGIN TEST: gethost

PR_GetHostByName failed

END TEST: gethost


BEGIN TEST: getproto

tcp is protocol number 6
udp is protocol number 17
Protocol number 6 is tcp
Protocol number 17 is udp
PASSED

END TEST: getproto


BEGIN TEST: i2l

We have long long

END TEST: i2l


BEGIN TEST: initclk

Elapsed time: 3000 ms, expected time: 3016 ms
PASS

END TEST: initclk


BEGIN TEST: inrval

inrval: Examine stdout to determine results.
Overhead of 'PR_Now()' is 5275 nsecs

Overhead of 'PR_IntervalNow()' is 1554 nsecs

Overhead of 'PR_Now()' is 5191 nsecs

Overhead of 'PR_IntervalNow()' is 1637 nsecs


END TEST: inrval


BEGIN TEST: instrumt

PASS

END TEST: instrumt


BEGIN TEST: intrio

A local thread will be interrupted by a local thread
PR_Accept() is interrupted as expected
A local thread will be interrupted by a global thread
PR_Accept() is interrupted as expected
A global thread will be interrupted by a local thread
PR_Accept() is interrupted as expected
A global thread will be interrupted by a global thread
PR_Accept() is interrupted as expected
PASSED

END TEST: intrio


BEGIN TEST: intrupt

PASSED

END TEST: intrupt


BEGIN TEST: io_timeout

test with global bound thread
thread id 0, scope GLOBAL_BOUND scope
test with local thread
thread id 0, scope GLOBAL scope
test with global thread
thread id 0, scope GLOBAL scope

END TEST: io_timeout


BEGIN TEST: ioconthr

Interrupting the threads
Threads terminated in 3004 milliseconds
PASS

END TEST: ioconthr


BEGIN TEST: join

User-User test
User-Kernel test
Kernel-User test
Kernel-Kernel test
Join with unjoinable thread
PASSED

END TEST: join


BEGIN TEST: joinkk

PASS

END TEST: joinkk


BEGIN TEST: joinku

PASS

END TEST: joinku


BEGIN TEST: joinuk

PASS

END TEST: joinuk


BEGIN TEST: joinuu

PASS

END TEST: joinuu


BEGIN TEST: layer

Beginning non-layered test
Ending non-layered test
Beginning layered test
Beginning layered test with new style stack
Ending layered test

END TEST: layer


BEGIN TEST: lazyinit


END TEST: lazyinit


BEGIN TEST: libfilename

PR_LoadLibrary failed

END TEST: libfilename


BEGIN TEST: lltest

PASS

END TEST: lltest


BEGIN TEST: lock

PASS

END TEST: lock


BEGIN TEST: lockfile


END TEST: lockfile


BEGIN TEST: logfile


END TEST: logfile


BEGIN TEST: logger


END TEST: logger


BEGIN TEST: many_cv

Settings
	Conditions / lock: 10
	Loops to run test: 1

PThread Statistics
	started: 12:15:42[0]
	locks [created: 13, destroyed: 1]
	locks [acquired: 5, released: 5]
	cvars [created: 12, destroyed: 10]
	cvars [notified: 10, delayed_delete: 0]
PASS

END TEST: many_cv


BEGIN TEST: multiwait

OneInThenCancelled()
OneOpOneThread()
PR_PENDING_INTERRUPT_ERROR(-5993), oserror = 0
Assertion failure: PR_MW_TIMEOUT == desc_out->outcome, at multiwait.c:269

END TEST: multiwait


BEGIN TEST: nblayer

Beginning non-layered test
Ending non-layered test
Beginning layered test
Ending layered test

END TEST: nblayer


BEGIN TEST: nonblock

The serveclient thread created.
accept: EWOULDBLOCK, good
connect: EWOULDBLOCK, good
client connected
accept: succeeded, good
read: EWOULDBLOCK, good
client sent 10 bytes
read: 10 bytes, good
read: EWOULDBLOCK, good
client sent 10 bytes
read: 10 bytes, good
read: EWOULDBLOCK, good
client sent 10 bytes
read: 10 bytes, good
read: EWOULDBLOCK, good
client sent 10 bytes
read: 10 bytes, good
read: EWOULDBLOCK, good
client sent 10 bytes
read: 10 bytes, good
All tests finished
PASS

END TEST: nonblock


BEGIN TEST: ntioto


END TEST: ntioto


BEGIN TEST: ntoh

2 1
1 2
2 1
4 3 2 1
1 2 3 4
4 3 2 1
8 7 6 5 4 3 2 1
1 2 3 4 5 6 7 8
8 7 6 5 4 3 2 1
PASS

END TEST: ntoh


BEGIN TEST: op_2long

error code is: PR_NAME_TOO_LONG_ERROR(-5951), oserror = 36
PASS

END TEST: op_2long


BEGIN TEST: op_excl


END TEST: op_excl


BEGIN TEST: op_filnf

error code is -5950 
PASS

END TEST: op_filnf


BEGIN TEST: op_filok

Test passed 

END TEST: op_filok


BEGIN TEST: op_nofil

error code is PR_FILE_NOT_FOUND_ERROR, as expected
PASS

END TEST: op_nofil


BEGIN TEST: parent


END TEST: parent


BEGIN TEST: parsetm

rv = 0
Thu Jan 1 00:00:00 UTC 3001
rv = 0
Thu Jan 1 00:00:00 UTC 3001

END TEST: parsetm


BEGIN TEST: peek

Running the test with local threads
server: peeked expected data
server: peeked expected data
server: received expected data
client: peeked expected data
client: peeked expected data
client: received expected data
server: peeked expected data
server: peeked expected data
server: received expected data
client: peeked expected data
client: peeked expected data
client: received expected data
server: peeked expected data
server: peeked expected data
server: received expected data
client: peeked expected data
client: peeked expected data
client: received expected data
server: peeked expected data
server: peeked expected data
server: received expected data
client: peeked expected data
client: peeked expected data
client: received expected data
server: peeked expected data
server: peeked expected data
server: received expected data
client: peeked expected data
client: peeked expected data
client: received expected data
server: peeked expected data
server: peeked expected data
server: received expected data
client: peeked expected data
client: peeked expected data
client: received expected data
server: peeked expected data
server: peeked expected data
server: received expected data
client: peeked expected data
client: peeked expected data
client: received expected data
server: peeked expected data
server: peeked expected data
server: received expected data
client: peeked expected data
client: peeked expected data
client: received expected data
server: peeked expected data
server: peeked expected data
server: received expected data
client: peeked expected data
client: peeked expected data
client: received expected data
server: peeked expected data
server: peeked expected data
server: received expected data
client: peeked expected data
client: peeked expected data
client: received expected data
Running the test with global threads
server: peeked expected data
server: peeked expected data
server: received expected data
client: peeked expected data
client: peeked expected data
client: received expected data
server: peeked expected data
server: peeked expected data
server: received expected data
client: peeked expected data
client: peeked expected data
client: received expected data
server: peeked expected data
server: peeked expected data
server: received expected data
client: peeked expected data
client: peeked expected data
client: received expected data
server: peeked expected data
server: peeked expected data
server: received expected data
client: peeked expected data
client: peeked expected data
client: received expected data
server: peeked expected data
server: peeked expected data
server: received expected data
client: peeked expected data
client: peeked expected data
client: received expected data
server: peeked expected data
server: peeked expected data
server: received expected data
client: peeked expected data
client: peeked expected data
client: received expected data
server: peeked expected data
server: peeked expected data
server: received expected data
client: peeked expected data
client: peeked expected data
client: received expected data
server: peeked expected data
server: peeked expected data
server: received expected data
client: peeked expected data
client: peeked expected data
client: received expected data
server: peeked expected data
server: peeked expected data
server: received expected data
client: peeked expected data
client: peeked expected data
client: received expected data
server: peeked expected data
server: peeked expected data
server: received expected data
client: peeked expected data
client: peeked expected data
client: received expected data
PASS

END TEST: peek


BEGIN TEST: perf

'PR_NewSem' is obsolete. Use 'locks & condition variables' instead.
'PR_WaitSem' is obsolete. Use 'locks & condition variables' instead.
'PR_PostSem' is obsolete. Use 'locks & condition variables' instead.
'PR_DestroySem' is obsolete. Use 'locks & condition variables' instead.
           local procedure call overhead:   0.00 usec
             DLL procedure call overhead:   0.00 usec
                   current calendar time:   6.00 usec
                           interval time:   5.00 usec
              idle lock lock/unlock pair:   2.00 usec
            idle monitor entry/exit pair:   2.00 usec
      idle cache monitor entry/exit pair:   6.00 usec
              create/destroy thread pair: 377.00 usec
              context switch - user/user:  72.00 usec
            context switch - user/kernel:  69.00 usec
            context switch - kernel/user:  73.00 usec
          context switch - kernel/kernel:  71.00 usec
         sema context switch - user/user:  78.00 usec
       sema context switch - user/kernel:  76.00 usec
       sema context switch - kernel/user:  77.00 usec
     sema context switch - kernel/kernel:  77.00 usec
--------------
Adding 7 additional CPUs
--------------
           local procedure call overhead:   0.00 usec
             DLL procedure call overhead:   0.00 usec
                   current calendar time:   6.00 usec
                           interval time:   5.00 usec
              idle lock lock/unlock pair:   2.00 usec
            idle monitor entry/exit pair:   2.00 usec
      idle cache monitor entry/exit pair:   6.00 usec
              create/destroy thread pair: 375.00 usec
              context switch - user/user:  71.00 usec
            context switch - user/kernel:  72.00 usec
            context switch - kernel/user:  70.00 usec
          context switch - kernel/kernel:  73.00 usec
         sema context switch - user/user:  77.00 usec
       sema context switch - user/kernel:  76.00 usec
       sema context switch - kernel/user:  78.00 usec
     sema context switch - kernel/kernel:  76.00 usec

END TEST: perf


BEGIN TEST: pipeping

ping process: expected 5 bytes but got 0 bytes
ping process: sending "ping"
ping process: received ""

END TEST: pipeping


BEGIN TEST: pipeping2

ping process: expected 5 bytes but got 0 bytes
ping process: sending "ping"
ping process: received ""

END TEST: pipeping2


BEGIN TEST: pipeself

ping thread: sending "ping"
pong thread: received "ping"
pong thread: sending "pong"
ping thread: received "pong"
ping thread: sending "ping"
pong thread: received "ping"
pong thread: sending "pong"
ping thread: received "pong"
ping thread: sending "ping"
pong thread: received "ping"
pong thread: sending "pong"
ping thread: received "pong"
ping thread: sending "ping"
pong thread: received "ping"
pong thread: sending "pong"
ping thread: received "pong"
ping thread: sending "ping"
pong thread: received "ping"
pong thread: sending "pong"
ping thread: received "pong"
ping thread: sending "ping"
pong thread: received "ping"
pong thread: sending "pong"
ping thread: received "pong"
ping thread: sending "ping"
pong thread: received "ping"
pong thread: sending "pong"
ping thread: received "pong"
ping thread: sending "ping"
pong thread: received "ping"
pong thread: sending "pong"
ping thread: received "pong"
ping thread: sending "ping"
pong thread: received "ping"
pong thread: sending "pong"
ping thread: received "pong"
ping thread: sending "ping"
pong thread: received "ping"
pong thread: sending "pong"
ping thread: received "pong"
PR_Available: expected 250, got 250 bytes
PR_Available: expected 243, got 243 bytes
PR_Available: expected 0, got 0 bytes
PASS

END TEST: pipeself


BEGIN TEST: poll_nm


END TEST: poll_nm


BEGIN TEST: poll_to


END TEST: poll_to


BEGIN TEST: pollable

PASSED

END TEST: pollable


BEGIN TEST: prftest

PR_snprintf test 1 passed
PR_snprintf test 2 passed

END TEST: prftest


BEGIN TEST: primblok

This test is not relevant on this platform

END TEST: primblok


BEGIN TEST: provider


pthread Statistics
	started: 12:16:34[14]
	locks [created: 14, destroyed: 2]
	locks [acquired: 341, released: 341]
	cvars [created: 7, destroyed: 5]
	cvars [notified: 29, delayed_delete: 0]
Client/Server started at(0x0x16590): 12:16:34
Server started at(0x0x17760): 12:16:34
main(0x0x16590): waiting for execution interval (10 seconds)
Client started at(0x0x17ae8): 12:16:34
Shutting down(0x0x16590): 12:16:44
	Client(0x0x17ae8): stopped after 22 operations and 20156 bytes
	Server(0x0x17760): stopped after 22 operations and 20156 bytes
main(0x0x16590): test complete
Test exiting at(0x0x16590): 12:16:48

END TEST: provider


BEGIN TEST: prpollml

PASS

END TEST: prpollml


BEGIN TEST: ranfile

PASS

END TEST: ranfile


BEGIN TEST: randseed


END TEST: randseed


BEGIN TEST: reinit

Init 1
Cleanup 1
Init 2
Cleanup 2
PASS

END TEST: reinit


BEGIN TEST: rwlocktest

PASS

END TEST: rwlocktest


BEGIN TEST: sel_spd

Running test for 5 iterations with 10 simultaneous threads.
	Will send 8192 bytes of client data and 131072 bytes of server data
server thread 2 alive
server thread 2 loop 0
server thread 3 alive
server thread 3 loop 0
server thread 4 alive
server thread 4 loop 0
server thread 1 alive
server thread 1 loop 0
server thread 0 alive
server thread 0 loop 0
server thread 5 alive
server thread 5 loop 0
server thread 6 alive
server thread 6 loop 0
server thread 7 alive
server thread 7 loop 0
server thread 8 alive
server thread 8 loop 0
server thread 9 alive
server thread 9 loop 0
client thread 3 alive
client thread 3 loop 0
client thread 3 socket created 96216
client thread 3 socket connected 96216
client thread 3 socket wrote 8192
server thread 3 got connection 96280
server thread 3 read 8192 bytes
server thread 3 write 131072 bytes
server: 8000 1000 1000 0 10000
server thread 3 loop 1
client thread 4 alive
client thread 4 loop 0
client thread 4 socket created 96280
client thread 4 socket connected 96280
client thread 4 socket wrote 8192
server thread 4 got connection 96344
server thread 4 read 8192 bytes
server thread 4 write 131072 bytes
server: 11000 0 2000 0 13000
server thread 4 loop 1
client thread 1 alive
client thread 1 loop 0
client thread 1 socket created 96344
client thread 1 socket connected 96344
client thread 1 socket wrote 8192
server thread 1 got connection 96408
server thread 1 read 8192 bytes
server thread 1 write 131072 bytes
server: 13000 0 1000 1000 15000
server thread 1 loop 1
client thread 0 alive
client thread 0 loop 0
client thread 0 socket created 96408
client thread 0 socket connected 96408
client thread 0 socket wrote 8192
server thread 0 got connection 96472
server thread 0 read 8192 bytes
server thread 0 write 131072 bytes
server: 16000 0 1000 0 17000
server thread 0 loop 1
client thread 5 alive
client thread 5 loop 0
client thread 5 socket created 96472
client thread 5 socket connected 96472
client thread 5 socket wrote 8192
server thread 5 got connection 96536
server thread 5 read 8192 bytes
server thread 5 write 131072 bytes
server: 17000 1000 1000 0 19000
server thread 5 loop 1
client thread 6 alive
client thread 6 loop 0
client thread 6 socket created 96536
client thread 6 socket connected 96536
client thread 6 socket wrote 8192
server thread 6 got connection 96600
server thread 6 read 8192 bytes
server thread 6 write 131072 bytes
server: 19000 1000 1000 0 21000
server thread 6 loop 1
client thread 7 alive
client thread 7 loop 0
client thread 7 socket created 96600
client thread 7 socket connected 96600
client thread 7 socket wrote 8192
server thread 7 got connection 96664
server thread 7 read 8192 bytes
server thread 7 write 131072 bytes
server: 22000 0 1000 1000 24000
server thread 7 loop 1
client thread 8 alive
client thread 8 loop 0
client thread 8 socket created 96664
client thread 8 socket connected 96664
client thread 8 socket wrote 8192
server thread 8 got connection 96728
server thread 8 read 8192 bytes
server thread 8 write 131072 bytes
server: 24000 0 1000 0 25000
server thread 8 loop 1
client thread 9 alive
client thread 9 loop 0
client thread 9 socket created 96728
client thread 9 socket connected 96728
client thread 9 socket wrote 8192
server thread 9 got connection 96792
server thread 9 read 8192 bytes
server thread 9 write 131072 bytes
server: 26000 0 1000 0 27000
server thread 9 loop 1
client thread 2 alive
client thread 2 loop 0
client thread 2 socket created 96792
client thread 2 socket connected 96792
client thread 2 socket wrote 8192
server thread 2 got connection 96856
server thread 2 read 8192 bytes
server thread 2 write 131072 bytes
server: 36000 1000 1000 0 38000
server thread 2 loop 1
client thread 0 socket read 131072
client thread 0 loop 1
client thread 0 socket created 96856
server thread 0 got connection 96408
client thread 5 socket read 131072
client thread 5 loop 1
client thread 5 socket created 96472
server thread 5 got connection 96920
client thread 4 socket read 131072
client thread 4 loop 1
client thread 4 socket created 96280
client thread 3 socket read 131072
client thread 3 loop 1
client thread 3 socket created 96216
client thread 6 socket read 131072
client thread 6 loop 1
client thread 6 socket created 96536
server thread 6 got connection 96984
client thread 8 socket read 131072
client thread 8 loop 1
client thread 8 socket created 96664
server thread 8 got connection 97048
client thread 9 socket read 131072
client thread 9 loop 1
client thread 9 socket created 96728
server thread 9 got connection 97112
client thread 2 socket read 131072
client thread 2 loop 1
client thread 2 socket created 96792
server thread 2 got connection 97176
client thread 1 socket read 131072
client thread 1 loop 1
client thread 1 socket created 96344
server thread 1 got connection 97240
server thread 3 got connection 97304
client thread 1 socket connected 96344
server thread 1 read 8192 bytes
server thread 1 write 131072 bytes
server: 46000 0 1000 0 47000
server thread 1 loop 2
client thread 1 socket wrote 8192
client thread 1 socket read 131072
client thread 1 loop 2
client thread 1 socket created 97240
client thread 7 socket read 131072
client thread 7 loop 1
client thread 7 socket created 96600
server thread 7 got connection 97368
client thread 5 socket connected 96472
server thread 4 got connection 96344
server thread 5 read 8192 bytes
server thread 5 write 131072 bytes
server: 21000 25000 1000 0 47000
server thread 5 loop 2
client thread 5 socket wrote 8192
client thread 5 socket read 131072
client thread 5 loop 2
client thread 5 socket created 96920
server thread 5 got connection 96472
client thread 4 socket connected 96280
server thread 4 read 8192 bytes
server thread 4 write 131072 bytes
server: 54000 3000 0 0 57000
server thread 4 loop 2
client thread 8 socket connected 96664
server thread 8 read 8192 bytes
server thread 8 write 131072 bytes
server: 23000 18000 0 0 41000
server thread 8 loop 2
client thread 0 socket connected 96856
server thread 0 read 8192 bytes
server thread 0 write 131072 bytes
server: 21000 33000 0 0 54000
server thread 0 loop 2
client thread 0 socket wrote 8192
client thread 0 socket read 131072
client thread 0 loop 2
client thread 0 socket created 96344
server thread 0 got connection 97048
client thread 6 socket connected 96536
server thread 6 read 8192 bytes
server thread 6 write 131072 bytes
server: 26000 24000 1000 0 51000
server thread 6 loop 2
client thread 6 socket wrote 8192
client thread 6 socket read 131072
client thread 6 loop 2
client thread 6 socket created 96408
server thread 6 got connection 96856
client thread 8 socket wrote 8192
client thread 8 socket read 131072
client thread 8 loop 2
client thread 8 socket created 96984
server thread 8 got connection 96536
client thread 9 socket connected 96728
server thread 9 read 8192 bytes
server thread 9 write 131072 bytes
server: 25000 22000 0 0 47000
server thread 9 loop 2
client thread 9 socket wrote 8192
client thread 9 socket read 131072
client thread 9 loop 2
client thread 9 socket created 96664
server thread 9 got connection 97112
client thread 2 socket connected 96792
server thread 2 read 8192 bytes
server thread 2 write 131072 bytes
server: 24000 21000 1000 0 46000
server thread 2 loop 2
client thread 2 socket wrote 8192
client thread 2 socket read 131072
client thread 2 loop 2
client thread 2 socket created 96728
server thread 2 got connection 97176
client thread 3 socket connected 96216
server thread 3 read 8192 bytes
server thread 3 write 131072 bytes
server: 53000 22000 0 0 75000
server thread 3 loop 2
client thread 3 socket wrote 8192
client thread 3 socket read 131072
client thread 3 loop 2
client thread 3 socket created 96792
server thread 3 got connection 97304
client thread 4 socket wrote 8192
client thread 4 socket read 131072
client thread 4 loop 2
client thread 4 socket created 96216
server thread 4 got connection 96280
client thread 7 socket connected 96600
server thread 7 read 8192 bytes
server thread 7 write 131072 bytes
server: 40000 21000 0 0 61000
server thread 7 loop 2
client thread 7 socket wrote 8192
client thread 7 socket read 131072
client thread 7 loop 2
client thread 7 socket created 97368
server thread 7 got connection 96600
client thread 7 socket connected 97368
server thread 7 read 8192 bytes
server thread 7 write 131072 bytes
server: 2000 1000 0 0 3000
server thread 7 loop 3
client thread 5 socket connected 96920
server thread 5 read 8192 bytes
server thread 5 write 131072 bytes
server: 2000 22000 0 0 24000
server thread 5 loop 3
client thread 5 socket wrote 8192
client thread 5 socket read 131072
client thread 5 loop 3
client thread 5 socket created 96600
server thread 5 got connection 96472
client thread 8 socket connected 96984
server thread 8 read 8192 bytes
server thread 8 write 131072 bytes
server: 7000 16000 1000 0 24000
server thread 8 loop 3
client thread 8 socket wrote 8192
client thread 8 socket read 131072
client thread 8 loop 3
client thread 8 socket created 96920
server thread 8 got connection 96536
server thread 1 got connection 96984
client thread 1 socket connected 97240
server thread 1 read 8192 bytes
server thread 1 write 131072 bytes
server: 34000 0 1000 0 35000
server thread 1 loop 3
client thread 1 socket wrote 8192
client thread 1 socket read 131072
client thread 1 loop 3
client thread 1 socket created 96984
server thread 1 got connection 97240
client thread 6 socket connected 96408
server thread 6 read 8192 bytes
server thread 6 write 131072 bytes
server: 2000 23000 1000 0 26000
server thread 6 loop 3
client thread 6 socket wrote 8192
client thread 6 socket read 131072
client thread 6 loop 3
client thread 6 socket created 96856
server thread 6 got connection 96408
client thread 4 socket connected 96216
server thread 4 read 8192 bytes
server thread 4 write 131072 bytes
server: 18000 15000 0 0 33000
server thread 4 loop 3
client thread 4 socket wrote 8192
client thread 4 socket read 131072
client thread 9 socket connected 96664
server thread 9 read 8192 bytes
server thread 9 write 131072 bytes
server: 2000 24000 0 0 26000
server thread 9 loop 3
client thread 9 socket wrote 8192
client thread 9 socket read 131072
client thread 9 loop 3
client thread 9 socket created 96280
server thread 9 got connection 97112
client thread 2 socket connected 96728
server thread 2 read 8192 bytes
server thread 2 write 131072 bytes
server: 1000 24000 1000 0 26000
server thread 2 loop 3
client thread 2 socket wrote 8192
client thread 2 socket read 131072
client thread 2 loop 3
client thread 2 socket created 96664
server thread 2 got connection 97176
client thread 3 socket connected 96792
server thread 3 read 8192 bytes
server thread 3 write 131072 bytes
server: 2000 24000 0 0 26000
server thread 3 loop 3
client thread 3 socket wrote 8192
client thread 3 socket read 131072
client thread 3 loop 3
client thread 3 socket created 96728
server thread 3 got connection 97304
client thread 0 socket connected 96344
server thread 0 read 8192 bytes
server thread 0 write 131072 bytes
server: 2000 38000 1000 0 41000
server thread 0 loop 3
client thread 0 socket wrote 8192
client thread 0 socket read 131072
client thread 0 loop 3
client thread 0 socket created 96792
server thread 0 got connection 97048
client thread 7 socket wrote 8192
client thread 7 socket read 131072
client thread 7 loop 3
client thread 7 socket created 96344
server thread 7 got connection 97368
client thread 7 socket connected 96344
server thread 7 read 8192 bytes
server thread 7 write 131072 bytes
server: 26000 0 0 0 26000
server thread 7 loop 4
client thread 4 loop 3
client thread 4 socket created 97368
server thread 4 got connection 96216
client thread 4 socket connected 97368
server thread 4 read 8192 bytes
server thread 4 write 131072 bytes
server: 15000 0 1000 0 16000
server thread 4 loop 4
client thread 4 socket wrote 8192
client thread 4 socket read 131072
client thread 4 loop 4
client thread 4 socket created 96216
server thread 4 got connection 97368
client thread 5 socket connected 96600
server thread 5 read 8192 bytes
server thread 5 write 131072 bytes
server: 2000 27000 0 0 29000
server thread 5 loop 4
client thread 5 socket wrote 8192
client thread 5 socket read 131072
client thread 5 loop 4
client thread 5 socket created 96472
server thread 5 got connection 96600
client thread 8 socket connected 96920
server thread 8 read 8192 bytes
server thread 8 write 131072 bytes
server: 2000 27000 0 0 29000
server thread 8 loop 4
client thread 8 socket wrote 8192
client thread 8 socket read 131072
client thread 8 loop 4
client thread 8 socket created 96536
server thread 8 got connection 96920
client thread 6 socket connected 96856
server thread 6 read 8192 bytes
server thread 6 write 131072 bytes
server: 1000 24000 1000 0 26000
server thread 6 loop 4
client thread 6 socket wrote 8192
client thread 6 socket read 131072
client thread 6 loop 4
client thread 6 socket created 96408
server thread 6 got connection 96856
client thread 2 socket connected 96664
server thread 2 read 8192 bytes
server thread 2 write 131072 bytes
server: 1000 20000 0 0 21000
server thread 2 loop 4
client thread 2 socket wrote 8192
client thread 2 socket read 131072
client thread 2 loop 4
client thread 2 socket created 97176
server thread 2 got connection 96664
client thread 3 socket connected 96728
server thread 3 read 8192 bytes
server thread 3 write 131072 bytes
server: 2000 19000 1000 0 22000
server thread 3 loop 4
client thread 3 socket wrote 8192
client thread 3 socket read 131072
client thread 3 loop 4
client thread 3 socket created 97304
server thread 3 got connection 96728
client thread 0 socket connected 96792
server thread 0 read 8192 bytes
server thread 0 write 131072 bytes
server: 2000 19000 0 1000 22000
server thread 0 loop 4
client thread 0 socket wrote 8192
client thread 0 socket read 131072
client thread 0 loop 4
client thread 0 socket created 97048
server thread 0 got connection 96792
client thread 1 socket connected 96984
server thread 1 read 8192 bytes
server thread 1 write 131072 bytes
server: 2000 37000 0 0 39000
server thread 1 loop 4
client thread 1 socket wrote 8192
client thread 1 socket read 131072
client thread 1 loop 4
client thread 1 socket created 97240
server thread 1 got connection 96984
client thread 9 socket connected 96280
server thread 9 read 8192 bytes
server thread 9 write 131072 bytes
server: 2000 32000 1000 0 35000
server thread 9 loop 4
client thread 9 socket wrote 8192
client thread 9 socket read 131072
client thread 9 loop 4
client thread 9 socket created 97112
server thread 9 got connection 96280
client thread 9 socket connected 97112
server thread 9 read 8192 bytes
server thread 9 write 131072 bytes
server: 2000 0 0 0 2000
Thread 9 EXIT
client thread 7 socket wrote 8192
client thread 6 socket connected 96408
server thread 6 read 8192 bytes
server thread 6 write 131072 bytes
server: 1000 17000 0 0 18000
Thread 6 EXIT
client thread 6 socket wrote 8192
client thread 6 socket read 131072
Thread 6 EXIT
client thread 5 socket connected 96472
server thread 5 read 8192 bytes
server thread 5 write 131072 bytes
server: 2000 24000 1000 0 27000
Thread 5 EXIT
client thread 5 socket wrote 8192
client thread 5 socket read 131072
Thread 5 EXIT
client thread 2 socket connected 97176
server thread 2 read 8192 bytes
server thread 2 write 131072 bytes
server: 2000 19000 1000 0 22000
Thread 2 EXIT
client thread 2 socket wrote 8192
client thread 2 socket read 131072
Thread 2 EXIT
client thread 4 socket connected 96216
server thread 4 read 8192 bytes
server thread 4 write 131072 bytes
server: 2000 33000 0 0 35000
Thread 4 EXIT
client thread 4 socket wrote 8192
client thread 4 socket read 131072
Thread 4 EXIT
client thread 8 socket connected 96536
server thread 8 read 8192 bytes
server thread 8 write 131072 bytes
server: 2000 31000 0 0 33000
Thread 8 EXIT
client thread 1 socket connected 97240
server thread 1 read 8192 bytes
server thread 1 write 131072 bytes
server: 2000 19000 0 0 21000
Thread 1 EXIT
client thread 0 socket connected 97048
server thread 0 read 8192 bytes
server thread 0 write 131072 bytes
server: 1000 23000 1000 0 25000
Thread 0 EXIT
client thread 7 socket read 131072
client thread 7 loop 4
client thread 7 socket created 96280
server thread 7 got connection 95776
client thread 3 socket connected 97304
server thread 3 read 8192 bytes
server thread 3 write 131072 bytes
server: 2000 27000 1000 0 30000
Thread 3 EXIT
client thread 8 socket wrote 8192
client thread 8 socket read 131072
Thread 8 EXIT
client thread 1 socket wrote 8192
client thread 1 socket read 131072
Thread 1 EXIT
client thread 0 socket wrote 8192
client thread 0 socket read 131072
Thread 0 EXIT
client thread 9 socket wrote 8192
client thread 9 socket read 131072
Thread 9 EXIT
client thread 3 socket wrote 8192
client thread 3 socket read 131072
Thread 3 EXIT
client thread 7 socket connected 96280
server thread 7 read 8192 bytes
server thread 7 write 131072 bytes
server: 44000 11000 0 0 55000
Thread 7 EXIT
client thread 7 socket wrote 8192
client thread 7 socket read 131072
Thread 7 EXIT
Thread 7 EXIT triggered notify
TEST COMPLETE!
Server results:

----------
server per thread totals 0	71200	78900	2800	300
server per thread elapsed time 153200
----------
Client results:

----------
client per thread totals 0	88000	17000	34800	1900
client per thread elapsed time 141700
                   select loop user/user: 36600.00 usec
server thread 8 alive
server thread 8 loop 0
server thread 5 alive
server thread 5 loop 0
server thread 6 alive
server thread 6 loop 0
server thread 7 alive
server thread 7 loop 0
server thread 4 alive
server thread 4 loop 0
server thread 9 alive
server thread 9 loop 0
server thread 3 alive
server thread 3 loop 0
server thread 2 alive
server thread 2 loop 0
client thread 8 alive
client thread 8 loop 0
client thread 8 socket created 97176
client thread 8 socket connected 97176
client thread 8 socket wrote 8192
server thread 1 alive
server thread 1 loop 0
client thread 5 alive
client thread 5 loop 0
client thread 5 socket created 92696
client thread 5 socket connected 92696
client thread 5 socket wrote 8192
client thread 6 alive
client thread 6 loop 0
client thread 6 socket created 96216
client thread 6 socket connected 96216
client thread 6 socket wrote 8192
server thread 6 got connection 96920
server thread 6 read 8192 bytes
server thread 6 write 131072 bytes
server: 7000 1000 1000 0 9000
server thread 6 loop 1
server thread 5 got connection 95336
server thread 5 read 8192 bytes
server thread 5 write 131072 bytes
server: 10000 0 1000 0 11000
server thread 5 loop 1
server thread 8 got connection 96984
server thread 8 read 8192 bytes
server thread 8 write 131072 bytes
server: 13000 0 1000 0 14000
server thread 8 loop 1
client thread 7 alive
client thread 7 loop 0
client thread 7 socket created 93136
client thread 7 socket connected 93136
client thread 7 socket wrote 8192
server thread 7 got connection 96792
server thread 7 read 8192 bytes
server thread 7 write 131072 bytes
server: 13000 1000 1000 0 15000
server thread 7 loop 1
client thread 4 alive
client thread 4 loop 0
client thread 4 socket created 93576
client thread 4 socket connected 93576
client thread 4 socket wrote 8192
server thread 4 got connection 96344
server thread 4 read 8192 bytes
server thread 4 write 131072 bytes
server: 15000 0 1000 0 16000
server thread 4 loop 1
client thread 9 alive
client thread 9 loop 0
client thread 9 socket created 96728
client thread 9 socket connected 96728
client thread 9 socket wrote 8192
server thread 9 got connection 92256
server thread 9 read 8192 bytes
server thread 9 write 131072 bytes
server: 17000 0 1000 0 18000
server thread 9 loop 1
client thread 3 alive
client thread 3 loop 0
client thread 3 socket created 96536
client thread 3 socket connected 96536
client thread 3 socket wrote 8192
server thread 3 got connection 97240
server thread 3 read 8192 bytes
server thread 3 write 131072 bytes
server: 19000 0 2000 0 21000
server thread 3 loop 1
server thread 0 alive
server thread 0 loop 0
client thread 2 alive
client thread 2 loop 0
client thread 2 socket created 97112
client thread 2 socket connected 97112
client thread 2 socket wrote 8192
server thread 2 got connection 97304
server thread 2 read 8192 bytes
server thread 2 write 131072 bytes
server: 22000 0 1000 0 23000
server thread 2 loop 1
client thread 1 alive
client thread 1 loop 0
client thread 1 socket created 95776
client thread 1 socket connected 95776
client thread 1 socket wrote 8192
server thread 1 got connection 94896
server thread 1 read 8192 bytes
server thread 1 write 131072 bytes
server: 23000 0 1000 0 24000
server thread 1 loop 1
client thread 6 socket read 131072
client thread 6 loop 1
client thread 6 socket created 96280
server thread 6 got connection 96920
client thread 4 socket read 131072
client thread 4 loop 1
client thread 4 socket created 95336
server thread 4 got connection 96984
client thread 7 socket read 131072
client thread 7 loop 1
client thread 7 socket created 96792
server thread 7 got connection 96344
client thread 3 socket read 131072
client thread 3 loop 1
client thread 3 socket created 92256
server thread 3 got connection 97240
client thread 9 socket read 131072
client thread 9 loop 1
client thread 9 socket created 97304
server thread 9 got connection 94896
client thread 0 alive
client thread 0 loop 0
client thread 0 socket created 96216
client thread 0 socket connected 96216
client thread 0 socket wrote 8192
server thread 0 got connection 93576
server thread 0 read 8192 bytes
server thread 0 write 131072 bytes
server: 24000 0 1000 0 25000
server thread 0 loop 1
client thread 2 socket read 131072
client thread 2 loop 1
client thread 2 socket created 93136
server thread 2 got connection 96536
client thread 5 socket read 131072
client thread 5 loop 1
client thread 5 socket created 96728
server thread 5 got connection 93576
client thread 5 socket connected 96728
server thread 5 read 8192 bytes
server thread 5 write 131072 bytes
server: 45000 0 1000 0 46000
server thread 5 loop 2
client thread 5 socket wrote 8192
client thread 5 socket read 131072
client thread 5 loop 2
client thread 5 socket created 97112
server thread 5 got connection 92696
client thread 0 socket read 131072
client thread 0 loop 1
client thread 0 socket created 93576
server thread 0 got connection 96728
client thread 8 socket read 131072
client thread 8 loop 1
client thread 8 socket created 96216
server thread 8 got connection 97176
client thread 8 socket connected 96216
server thread 8 read 8192 bytes
server thread 8 write 131072 bytes
server: 49000 1000 0 0 50000
server thread 8 loop 2
client thread 8 socket wrote 8192
client thread 8 socket read 131072
client thread 8 loop 2
client thread 8 socket created 97176
client thread 6 socket connected 96280
server thread 6 read 8192 bytes
server thread 6 write 131072 bytes
server: 24000 31000 0 0 55000
server thread 6 loop 2
client thread 6 socket wrote 8192
client thread 6 socket read 131072
client thread 6 loop 2
client thread 6 socket created 96216
server thread 6 got connection 96920
client thread 7 socket connected 96792
server thread 7 read 8192 bytes
server thread 7 write 131072 bytes
server: 24000 27000 1000 0 52000
server thread 7 loop 2
client thread 7 socket wrote 8192
client thread 7 socket read 131072
client thread 7 loop 2
client thread 7 socket created 96280
server thread 7 got connection 96344
client thread 4 socket connected 95336
server thread 4 read 8192 bytes
server thread 4 write 131072 bytes
server: 19000 33000 1000 0 53000
server thread 4 loop 2
client thread 4 socket wrote 8192
client thread 4 socket read 131072
client thread 4 loop 2
client thread 4 socket created 96792
server thread 4 got connection 96984
client thread 1 socket read 131072
client thread 1 loop 1
client thread 1 socket created 95336
server thread 1 got connection 95776
client thread 1 socket connected 95336
server thread 1 read 8192 bytes
server thread 1 write 131072 bytes
server: 44000 0 0 0 44000
server thread 1 loop 2
client thread 1 socket wrote 8192
client thread 1 socket read 131072
client thread 1 loop 2
client thread 1 socket created 95776
server thread 1 got connection 95336
client thread 3 socket connected 92256
server thread 3 read 8192 bytes
server thread 3 write 131072 bytes
server: 18000 35000 0 0 53000
server thread 3 loop 2
client thread 3 socket wrote 8192
client thread 3 socket read 131072
client thread 3 loop 2
client thread 3 socket created 97240
server thread 3 got connection 92256
client thread 9 socket connected 97304
server thread 9 read 8192 bytes
server thread 9 write 131072 bytes
server: 26000 32000 1000 0 59000
server thread 9 loop 2
client thread 9 socket wrote 8192
client thread 9 socket read 131072
client thread 9 loop 2
client thread 9 socket created 94896
server thread 9 got connection 97304
client thread 2 socket connected 93136
server thread 2 read 8192 bytes
server thread 2 write 131072 bytes
server: 26000 29000 0 0 55000
server thread 2 loop 2
client thread 2 socket wrote 8192
client thread 2 socket read 131072
client thread 2 loop 2
client thread 2 socket created 96536
server thread 2 got connection 93136
client thread 2 socket connected 96536
server thread 2 read 8192 bytes
server thread 2 write 131072 bytes
server: 2000 0 1000 0 3000
server thread 2 loop 3
client thread 6 socket connected 96216
server thread 6 read 8192 bytes
server thread 6 write 131072 bytes
server: 2000 18000 1000 0 21000
server thread 6 loop 3
client thread 6 socket wrote 8192
client thread 6 socket read 131072
client thread 6 loop 3
client thread 6 socket created 93136
server thread 6 got connection 96920
client thread 5 socket connected 97112
server thread 5 read 8192 bytes
server thread 5 write 131072 bytes
server: 1000 30000 1000 0 32000
server thread 5 loop 3
client thread 5 socket wrote 8192
client thread 5 socket read 131072
client thread 5 loop 3
client thread 5 socket created 96216
server thread 5 got connection 92696
client thread 7 socket connected 96280
server thread 7 read 8192 bytes
server thread 7 write 131072 bytes
server: 2000 21000 0 0 23000
server thread 7 loop 3
client thread 7 socket wrote 8192
client thread 7 socket read 131072
client thread 7 loop 3
client thread 7 socket created 97112
server thread 7 got connection 96344
client thread 4 socket connected 96792
server thread 4 read 8192 bytes
server thread 4 write 131072 bytes
server: 1000 21000 1000 0 23000
server thread 4 loop 3
client thread 4 socket wrote 8192
client thread 4 socket read 131072
client thread 4 loop 3
client thread 4 socket created 96280
server thread 4 got connection 96984
client thread 0 socket connected 93576
server thread 0 read 8192 bytes
server thread 0 write 131072 bytes
server: 11000 35000 0 1000 47000
server thread 0 loop 2
client thread 0 socket wrote 8192
client thread 0 socket read 131072
client thread 0 loop 2
client thread 0 socket created 96792
server thread 0 got connection 96728
client thread 3 socket connected 97240
server thread 3 read 8192 bytes
server thread 3 write 131072 bytes
server: 2000 20000 0 0 22000
server thread 3 loop 3
client thread 3 socket wrote 8192
client thread 3 socket read 131072
client thread 3 loop 3
client thread 3 socket created 93576
server thread 3 got connection 92256
server thread 8 got connection 97240
client thread 8 socket connected 97176
server thread 8 read 8192 bytes
server thread 8 write 131072 bytes
server: 38000 1000 0 0 39000
server thread 8 loop 3
client thread 8 socket wrote 8192
client thread 8 socket read 131072
client thread 8 loop 3
client thread 8 socket created 97240
server thread 8 got connection 97176
client thread 9 socket connected 94896
server thread 9 read 8192 bytes
server thread 9 write 131072 bytes
server: 2000 22000 1000 0 25000
server thread 9 loop 3
client thread 9 socket wrote 8192
client thread 9 socket read 131072
client thread 9 loop 3
client thread 9 socket created 97304
server thread 9 got connection 94896
client thread 2 socket wrote 8192
client thread 2 socket read 131072
client thread 2 loop 3
client thread 2 socket created 96536
server thread 2 got connection 89040
client thread 1 socket connected 95776
server thread 1 read 8192 bytes
server thread 1 write 131072 bytes
server: 1000 33000 0 0 34000
server thread 1 loop 3
client thread 1 socket wrote 8192
client thread 1 socket read 131072
client thread 1 loop 3
client thread 1 socket created 95336
server thread 1 got connection 95776
client thread 1 socket connected 95336
server thread 1 read 8192 bytes
server thread 1 write 131072 bytes
server: 2000 0 1000 0 3000
server thread 1 loop 4
client thread 5 socket connected 96216
server thread 5 read 8192 bytes
server thread 5 write 131072 bytes
server: 1000 22000 1000 0 24000
server thread 5 loop 4
client thread 5 socket wrote 8192
client thread 5 socket read 131072
client thread 5 loop 4
client thread 5 socket created 95776
server thread 5 got connection 92696
client thread 7 socket connected 97112
server thread 7 read 8192 bytes
server thread 7 write 131072 bytes
server: 2000 22000 1000 0 25000
server thread 7 loop 4
client thread 7 socket wrote 8192
client thread 7 socket read 131072
client thread 7 loop 4
client thread 7 socket created 96216
server thread 7 got connection 96344
client thread 6 socket connected 93136
server thread 6 read 8192 bytes
server thread 6 write 131072 bytes
server: 2000 30000 0 0 32000
server thread 6 loop 4
client thread 6 socket wrote 8192
client thread 6 socket read 131072
client thread 6 loop 4
client thread 6 socket created 97112
server thread 6 got connection 96920
client thread 3 socket connected 93576
server thread 3 read 8192 bytes
server thread 3 write 131072 bytes
server: 2000 20000 0 0 22000
server thread 3 loop 4
client thread 3 socket wrote 8192
client thread 3 socket read 131072
client thread 3 loop 4
client thread 3 socket created 93136
server thread 3 got connection 92256
client thread 0 socket connected 96792
server thread 0 read 8192 bytes
server thread 0 write 131072 bytes
server: 1000 25000 1000 0 27000
server thread 0 loop 3
client thread 0 socket wrote 8192
client thread 0 socket read 131072
client thread 0 loop 3
client thread 0 socket created 93576
server thread 0 got connection 96728
client thread 4 socket connected 96280
server thread 4 read 8192 bytes
server thread 4 write 131072 bytes
server: 2000 30000 0 0 32000
server thread 4 loop 4
client thread 4 socket wrote 8192
client thread 4 socket read 131072
client thread 4 loop 4
client thread 4 socket created 96792
server thread 4 got connection 96984
client thread 8 socket connected 97240
server thread 8 read 8192 bytes
server thread 8 write 131072 bytes
server: 2000 24000 1000 0 27000
server thread 8 loop 4
client thread 8 socket wrote 8192
client thread 8 socket read 131072
client thread 8 loop 4
client thread 8 socket created 96280
server thread 8 got connection 97176
client thread 9 socket connected 97304
server thread 9 read 8192 bytes
server thread 9 write 131072 bytes
server: 2000 24000 0 1000 27000
server thread 9 loop 4
client thread 9 socket wrote 8192
client thread 9 socket read 131072
client thread 9 loop 4
client thread 9 socket created 97240
server thread 9 got connection 94896
client thread 2 socket connected 96536
server thread 2 read 8192 bytes
server thread 2 write 131072 bytes
server: 23000 26000 0 0 49000
server thread 2 loop 4
client thread 2 socket wrote 8192
client thread 2 socket read 131072
client thread 2 loop 4
client thread 2 socket created 97304
server thread 2 got connection 89040
client thread 1 socket wrote 8192
client thread 1 socket read 131072
client thread 1 loop 4
client thread 1 socket created 96536
server thread 1 got connection 95336
client thread 1 socket connected 96536
server thread 1 read 8192 bytes
server thread 1 write 131072 bytes
server: 26000 0 0 1000 27000
Thread 1 EXIT
client thread 6 socket connected 97112
server thread 6 read 8192 bytes
server thread 6 write 131072 bytes
server: 2000 19000 1000 0 22000
Thread 6 EXIT
client thread 6 socket wrote 8192
client thread 6 socket read 131072
Thread 6 EXIT
client thread 5 socket connected 95776
server thread 5 read 8192 bytes
server thread 5 write 131072 bytes
server: 2000 27000 0 0 29000
Thread 5 EXIT
client thread 5 socket wrote 8192
client thread 5 socket read 131072
Thread 5 EXIT
client thread 7 socket connected 96216
server thread 7 read 8192 bytes
server thread 7 write 131072 bytes
server: 2000 26000 0 0 28000
Thread 7 EXIT
client thread 7 socket wrote 8192
client thread 7 socket read 131072
Thread 7 EXIT
client thread 3 socket connected 93136
server thread 3 read 8192 bytes
server thread 3 write 131072 bytes
server: 2000 23000 1000 0 26000
Thread 3 EXIT
client thread 3 socket wrote 8192
client thread 3 socket read 131072
Thread 3 EXIT
client thread 0 socket connected 93576
server thread 0 read 8192 bytes
server thread 0 write 131072 bytes
server: 1000 24000 1000 0 26000
server thread 0 loop 4
client thread 4 socket connected 96792
server thread 4 read 8192 bytes
server thread 4 write 131072 bytes
server: 2000 22000 1000 0 25000
Thread 4 EXIT
client thread 0 socket wrote 8192
client thread 0 socket read 131072
client thread 0 loop 4
client thread 0 socket created 95336
server thread 0 got connection 97368
client thread 4 socket wrote 8192
client thread 4 socket read 131072
Thread 4 EXIT
client thread 8 socket connected 96280
server thread 8 read 8192 bytes
server thread 8 write 131072 bytes
server: 2000 24000 0 0 26000
Thread 8 EXIT
client thread 9 socket connected 97240
server thread 9 read 8192 bytes
server thread 9 write 131072 bytes
server: 1000 23000 0 0 24000
Thread 9 EXIT
client thread 2 socket connected 97304
server thread 2 read 8192 bytes
server thread 2 write 131072 bytes
server: 2000 21000 0 0 23000
Thread 2 EXIT
client thread 8 socket wrote 8192
client thread 8 socket read 131072
Thread 8 EXIT
client thread 9 socket wrote 8192
client thread 9 socket read 131072
Thread 9 EXIT
client thread 2 socket wrote 8192
client thread 2 socket read 131072
Thread 2 EXIT
client thread 1 socket wrote 8192
client thread 1 socket read 131072
Thread 1 EXIT
client thread 0 socket connected 95336
server thread 0 read 8192 bytes
server thread 0 write 131072 bytes
server: 3000 9000 1000 0 13000
Thread 0 EXIT
client thread 0 socket wrote 8192
client thread 0 socket read 131072
Thread 0 EXIT
Thread 0 EXIT triggered notify
TEST COMPLETE!
Server results:

----------
server per thread totals 10	129600	162100	5800	600
server per thread elapsed time 298100
----------
Client results:

----------
client per thread totals 10	176600	29800	67900	2600
client per thread elapsed time 276900
                 select loop user/kernel: 34800.00 usec
server thread 8 alive
server thread 8 loop 0
server thread 5 alive
server thread 5 loop 0
server thread 9 alive
server thread 9 loop 0
server thread 6 alive
server thread 6 loop 0
server thread 7 alive
server thread 7 loop 0
server thread 4 alive
server thread 4 loop 0
server thread 3 alive
server thread 3 loop 0
server thread 2 alive
server thread 2 loop 0
client thread 8 alive
client thread 8 loop 0
client thread 8 socket created 96216
client thread 8 socket connected 96216
client thread 8 socket wrote 8192
client thread 5 alive
client thread 5 loop 0
client thread 5 socket created 92256
client thread 5 socket connected 92256
client thread 5 socket wrote 8192
server thread 5 got connection 96664
server thread 5 read 8192 bytes
server thread 5 write 131072 bytes
server: 6000 0 0 0 6000
server thread 5 loop 1
server thread 1 alive
server thread 1 loop 0
client thread 9 alive
client thread 9 loop 0
client thread 9 socket created 96728
client thread 9 socket connected 96728
client thread 9 socket wrote 8192
server thread 9 got connection 96984
server thread 9 read 8192 bytes
server thread 9 write 131072 bytes
server: 9000 0 1000 0 10000
server thread 9 loop 1
client thread 6 alive
client thread 6 loop 0
client thread 6 socket created 94016
client thread 6 socket connected 94016
client thread 6 socket wrote 8192
server thread 6 got connection 93576
server thread 6 read 8192 bytes
server thread 6 write 131072 bytes
server: 10000 0 1000 0 11000
server thread 6 loop 1
client thread 7 alive
client thread 7 loop 0
client thread 7 socket created 96792
client thread 7 socket connected 96792
client thread 7 socket wrote 8192
server thread 7 got connection 97176
server thread 7 read 8192 bytes
server thread 7 write 131072 bytes
server: 11000 0 1000 0 12000
server thread 7 loop 1
server thread 8 got connection 96856
server thread 8 read 8192 bytes
server thread 8 write 131072 bytes
server: 15000 0 1000 0 16000
server thread 8 loop 1
client thread 4 alive
client thread 4 loop 0
client thread 4 socket created 94896
client thread 4 socket connected 94896
client thread 4 socket wrote 8192
server thread 4 got connection 96472
server thread 4 read 8192 bytes
server thread 4 write 131072 bytes
server: 14000 0 0 0 14000
server thread 4 loop 1
client thread 3 alive
client thread 3 loop 0
client thread 3 socket created 89040
client thread 3 socket connected 89040
client thread 3 socket wrote 8192
server thread 3 got connection 91816
server thread 3 read 8192 bytes
server thread 3 write 131072 bytes
server: 16000 0 0 0 16000
server thread 3 loop 1
server thread 0 alive
server thread 0 loop 0
client thread 2 alive
client thread 2 loop 0
client thread 2 socket created 97240
client thread 2 socket connected 97240
client thread 2 socket wrote 8192
server thread 2 got connection 97304
server thread 2 read 8192 bytes
server thread 2 write 131072 bytes
server: 17000 0 1000 0 18000
server thread 2 loop 1
client thread 5 socket read 131072
client thread 5 loop 1
client thread 5 socket created 96536
server thread 5 got connection 97368
client thread 8 socket read 131072
client thread 8 loop 1
client thread 8 socket created 97048
server thread 8 got connection 95336
client thread 6 socket read 131072
client thread 6 loop 1
client thread 6 socket created 96664
server thread 6 got connection 96984
client thread 9 socket read 131072
client thread 9 loop 1
client thread 9 socket created 93576
client thread 9 socket connected 93576
client thread 9 socket wrote 8192
client thread 7 socket read 131072
client thread 7 loop 1
client thread 7 socket created 97176
client thread 1 alive
client thread 1 loop 0
client thread 1 socket created 96856
client thread 1 socket connected 96856
client thread 1 socket wrote 8192
client thread 6 socket connected 96664
server thread 6 read 8192 bytes
server thread 6 write 131072 bytes
server: 17000 4000 0 1000 22000
server thread 6 loop 2
server thread 7 got connection 96472
server thread 9 got connection 91816
server thread 9 read 8192 bytes
server thread 9 write 131072 bytes
server: 24000 0 1000 0 25000
server thread 9 loop 2
client thread 3 socket read 131072
client thread 3 loop 1
client thread 3 socket created 97304
server thread 3 got connection 92256
server thread 1 got connection 96216
server thread 1 read 8192 bytes
server thread 1 write 131072 bytes
server: 29000 0 1000 0 30000
server thread 1 loop 1
client thread 4 socket read 131072
client thread 4 loop 1
client thread 4 socket created 94016
server thread 4 got connection 96728
client thread 0 alive
client thread 0 loop 0
client thread 0 socket created 96792
client thread 0 socket connected 96792
client thread 0 socket wrote 8192
server thread 0 got connection 96984
server thread 0 read 8192 bytes
server thread 0 write 131072 bytes
server: 20000 0 1000 0 21000
server thread 0 loop 1
client thread 2 socket read 131072
client thread 2 loop 1
client thread 2 socket created 91816
server thread 2 got connection 89040
client thread 2 socket connected 91816
server thread 2 read 8192 bytes
server thread 2 write 131072 bytes
server: 21000 0 1000 0 22000
server thread 2 loop 2
client thread 2 socket wrote 8192
client thread 2 socket read 131072
client thread 2 loop 2
client thread 2 socket created 96216
server thread 2 got connection 94896
client thread 1 socket read 131072
client thread 1 loop 1
client thread 1 socket created 96984
server thread 1 got connection 97240
client thread 7 socket connected 97176
server thread 7 read 8192 bytes
server thread 7 write 131072 bytes
server: 20000 15000 0 0 35000
server thread 7 loop 2
client thread 7 socket wrote 8192
client thread 7 socket read 131072
client thread 7 loop 2
client thread 7 socket created 89040
server thread 7 got connection 91816
client thread 6 socket wrote 8192
client thread 6 socket read 131072
client thread 6 loop 2
client thread 6 socket created 96856
server thread 6 got connection 96472
client thread 8 socket connected 97048
server thread 8 read 8192 bytes
server thread 8 write 131072 bytes
server: 12000 26000 0 1000 39000
server thread 8 loop 2
client thread 8 socket wrote 8192
client thread 8 socket read 131072
client thread 8 loop 2
client thread 8 socket created 97176
server thread 8 got connection 96664
client thread 9 socket read 131072
client thread 9 loop 2
client thread 9 socket created 95336
server thread 9 got connection 97048
client thread 0 socket read 131072
client thread 0 loop 1
client thread 0 socket created 93576
server thread 0 got connection 96792
client thread 4 socket connected 94016
server thread 4 read 8192 bytes
server thread 4 write 131072 bytes
server: 22000 21000 0 1000 44000
server thread 4 loop 2
client thread 4 socket wrote 8192
client thread 3 socket connected 97304
server thread 3 read 8192 bytes
server thread 3 write 131072 bytes
server: 18000 25000 0 0 43000
server thread 3 loop 2
client thread 3 socket wrote 8192
client thread 3 socket read 131072
client thread 3 loop 2
client thread 3 socket created 96728
server thread 3 got connection 92256
client thread 3 socket connected 96728
server thread 3 read 8192 bytes
server thread 3 write 131072 bytes
server: 2000 0 1000 0 3000
server thread 3 loop 3
client thread 3 socket wrote 8192
client thread 3 socket read 131072
client thread 3 loop 3
client thread 3 socket created 97304
server thread 3 got connection 92256
client thread 5 socket connected 96536
server thread 5 read 8192 bytes
server thread 5 write 131072 bytes
server: 18000 42000 1000 0 61000
server thread 5 loop 2
client thread 5 socket wrote 8192
client thread 5 socket read 131072
client thread 5 loop 2
client thread 5 socket created 96728
server thread 5 got connection 97368
client thread 4 socket read 131072
client thread 4 loop 2
client thread 4 socket created 96536
server thread 4 got connection 94016
client thread 4 socket connected 96536
server thread 4 read 8192 bytes
server thread 4 write 131072 bytes
server: 9000 0 1000 0 10000
server thread 4 loop 3
client thread 4 socket wrote 8192
client thread 4 socket read 131072
client thread 4 loop 3
client thread 4 socket created 94016
server thread 4 got connection 96536
client thread 9 socket connected 95336
server thread 9 read 8192 bytes
server thread 9 write 131072 bytes
server: 22000 16000 0 0 38000
server thread 9 loop 3
client thread 9 socket wrote 8192
client thread 9 socket read 131072
client thread 9 loop 3
client thread 9 socket created 97048
server thread 9 got connection 95336
client thread 7 socket connected 89040
server thread 7 read 8192 bytes
server thread 7 write 131072 bytes
server: 2000 25000 0 0 27000
server thread 7 loop 3
client thread 7 socket wrote 8192
client thread 7 socket read 131072
client thread 7 loop 3
client thread 7 socket created 91816
server thread 7 got connection 89040
client thread 6 socket connected 96856
server thread 6 read 8192 bytes
server thread 6 write 131072 bytes
server: 19000 25000 1000 0 45000
server thread 6 loop 3
client thread 6 socket wrote 8192
client thread 6 socket read 131072
client thread 6 loop 3
client thread 6 socket created 96472
server thread 6 got connection 96856
client thread 8 socket connected 97176
server thread 8 read 8192 bytes
server thread 8 write 131072 bytes
server: 2000 25000 0 0 27000
server thread 8 loop 3
client thread 8 socket wrote 8192
client thread 8 socket read 131072
client thread 8 loop 3
client thread 8 socket created 96664
server thread 8 got connection 97176
client thread 1 socket connected 96984
server thread 1 read 8192 bytes
server thread 1 write 131072 bytes
server: 10000 36000 0 0 46000
server thread 1 loop 2
client thread 1 socket wrote 8192
client thread 1 socket read 131072
client thread 1 loop 2
client thread 1 socket created 97240
server thread 1 got connection 96984
client thread 2 socket connected 96216
server thread 2 read 8192 bytes
server thread 2 write 131072 bytes
server: 2000 40000 1000 0 43000
server thread 2 loop 3
client thread 2 socket wrote 8192
client thread 2 socket read 131072
client thread 2 loop 3
client thread 2 socket created 94896
server thread 2 got connection 96216
client thread 0 socket connected 93576
server thread 0 read 8192 bytes
server thread 0 write 131072 bytes
server: 19000 29000 0 0 48000
server thread 0 loop 2
client thread 0 socket wrote 8192
client thread 0 socket read 131072
client thread 0 loop 2
client thread 0 socket created 96792
server thread 0 got connection 93576
client thread 5 socket connected 96728
server thread 5 read 8192 bytes
server thread 5 write 131072 bytes
server: 1000 23000 0 0 24000
server thread 5 loop 3
client thread 5 socket wrote 8192
client thread 5 socket read 131072
client thread 5 loop 3
client thread 5 socket created 97368
server thread 5 got connection 96728
client thread 9 socket connected 97048
server thread 9 read 8192 bytes
server thread 9 write 131072 bytes
server: 1000 19000 1000 0 21000
server thread 9 loop 4
client thread 9 socket wrote 8192
client thread 9 socket read 131072
client thread 9 loop 4
client thread 9 socket created 95336
server thread 9 got connection 97048
client thread 7 socket connected 91816
server thread 7 read 8192 bytes
server thread 7 write 131072 bytes
server: 2000 19000 0 0 21000
server thread 7 loop 4
client thread 7 socket wrote 8192
client thread 7 socket read 131072
client thread 7 loop 4
client thread 7 socket created 89040
server thread 7 got connection 91816
client thread 6 socket connected 96472
server thread 6 read 8192 bytes
server thread 6 write 131072 bytes
server: 1000 20000 0 0 21000
server thread 6 loop 4
client thread 6 socket wrote 8192
client thread 6 socket read 131072
client thread 6 loop 4
client thread 8 socket connected 96664
server thread 8 read 8192 bytes
server thread 8 write 131072 bytes
server: 1000 19000 0 0 20000
server thread 8 loop 4
client thread 8 socket wrote 8192
client thread 8 socket read 131072
client thread 8 loop 4
client thread 8 socket created 96472
server thread 8 got connection 97176
client thread 4 socket connected 94016
server thread 4 read 8192 bytes
server thread 4 write 131072 bytes
server: 2000 31000 1000 0 34000
server thread 4 loop 4
client thread 4 socket wrote 8192
client thread 4 socket read 131072
client thread 4 loop 4
client thread 4 socket created 96664
server thread 4 got connection 96536
client thread 1 socket connected 97240
server thread 1 read 8192 bytes
server thread 1 write 131072 bytes
server: 2000 21000 0 0 23000
server thread 1 loop 3
client thread 1 socket wrote 8192
client thread 1 socket read 131072
client thread 1 loop 3
client thread 1 socket created 94016
server thread 1 got connection 96984
client thread 3 socket connected 97304
server thread 3 read 8192 bytes
server thread 3 write 131072 bytes
server: 2000 43000 0 0 45000
server thread 3 loop 4
client thread 3 socket wrote 8192
client thread 3 socket read 131072
client thread 3 loop 4
client thread 2 socket connected 94896
server thread 2 read 8192 bytes
server thread 2 write 131072 bytes
server: 1000 24000 0 0 25000
server thread 2 loop 4
client thread 2 socket wrote 8192
client thread 2 socket read 131072
client thread 2 loop 4
client thread 2 socket created 92256
server thread 2 got connection 97304
client thread 0 socket connected 96792
server thread 0 read 8192 bytes
server thread 0 write 131072 bytes
server: 2000 23000 1000 0 26000
server thread 0 loop 3
client thread 0 socket wrote 8192
client thread 0 socket read 131072
client thread 0 loop 3
client thread 0 socket created 96216
server thread 0 got connection 94896
client thread 5 socket connected 97368
server thread 5 read 8192 bytes
server thread 5 write 131072 bytes
server: 2000 23000 0 0 25000
server thread 5 loop 4
client thread 5 socket wrote 8192
client thread 5 socket read 131072
client thread 5 loop 4
client thread 5 socket created 93576
server thread 5 got connection 96792
client thread 6 socket created 96856
server thread 6 got connection 96728
client thread 6 socket connected 96856
server thread 6 read 8192 bytes
server thread 6 write 131072 bytes
server: 20000 0 0 0 20000
Thread 6 EXIT
client thread 6 socket wrote 8192
client thread 6 socket read 131072
Thread 6 EXIT
client thread 9 socket connected 95336
server thread 9 read 8192 bytes
server thread 9 write 131072 bytes
server: 1000 26000 1000 0 28000
Thread 9 EXIT
client thread 9 socket wrote 8192
client thread 9 socket read 131072
Thread 9 EXIT
client thread 7 socket connected 89040
server thread 7 read 8192 bytes
server thread 7 write 131072 bytes
server: 2000 26000 0 0 28000
Thread 7 EXIT
client thread 7 socket wrote 8192
client thread 7 socket read 131072
Thread 7 EXIT
client thread 8 socket connected 96472
server thread 8 read 8192 bytes
server thread 8 write 131072 bytes
server: 2000 23000 1000 0 26000
Thread 8 EXIT
client thread 8 socket wrote 8192
client thread 8 socket read 131072
Thread 8 EXIT
client thread 4 socket connected 96664
server thread 4 read 8192 bytes
server thread 4 write 131072 bytes
server: 1000 24000 0 0 25000
Thread 4 EXIT
client thread 3 socket created 97240
server thread 3 got connection 97368
client thread 4 socket wrote 8192
client thread 4 socket read 131072
Thread 4 EXIT
client thread 1 socket connected 94016
server thread 1 read 8192 bytes
server thread 1 write 131072 bytes
server: 2000 24000 1000 0 27000
server thread 1 loop 4
client thread 2 socket connected 92256
server thread 2 read 8192 bytes
server thread 2 write 131072 bytes
server: 2000 20000 1000 0 23000
Thread 2 EXIT
client thread 3 socket connected 97240
server thread 3 read 8192 bytes
server thread 3 write 131072 bytes
server: 21000 4000 1000 0 26000
Thread 3 EXIT
client thread 2 socket wrote 8192
client thread 2 socket read 131072
Thread 2 EXIT
client thread 1 socket wrote 8192
client thread 1 socket read 131072
client thread 1 loop 4
client thread 1 socket created 96728
server thread 1 got connection 92696
client thread 3 socket wrote 8192
client thread 3 socket read 131072
Thread 3 EXIT
client thread 5 socket connected 93576
server thread 5 read 8192 bytes
server thread 5 write 131072 bytes
server: 2000 23000 1000 0 26000
Thread 5 EXIT
client thread 0 socket connected 96216
server thread 0 read 8192 bytes
server thread 0 write 131072 bytes
server: 1000 28000 0 0 29000
server thread 0 loop 4
client thread 5 socket wrote 8192
client thread 5 socket read 131072
Thread 5 EXIT
client thread 0 socket wrote 8192
client thread 0 socket read 131072
client thread 0 loop 4
client thread 0 socket created 96856
server thread 0 got connection 97048
client thread 1 socket connected 96728
server thread 1 read 8192 bytes
server thread 1 write 131072 bytes
server: 6000 8000 0 0 14000
Thread 1 EXIT
client thread 1 socket wrote 8192
client thread 1 socket read 131072
Thread 1 EXIT
client thread 0 socket connected 96856
server thread 0 read 8192 bytes
server thread 0 write 131072 bytes
server: 4000 2000 1000 0 7000
Thread 0 EXIT
client thread 0 socket wrote 8192
client thread 0 socket read 131072
Thread 0 EXIT
Thread 0 EXIT triggered notify
TEST COMPLETE!
Server results:

----------
server per thread totals 10	176300	242300	8200	900
server per thread elapsed time 427700
----------
Client results:

----------
client per thread totals 10	262400	37600	93200	3400
client per thread elapsed time 396600
                 select loop kernel/user: 31400.00 usec
server thread 8 alive
server thread 8 loop 0
server thread 5 alive
server thread 5 loop 0
server thread 9 alive
server thread 9 loop 0
server thread 6 alive
server thread 6 loop 0
server thread 7 alive
server thread 7 loop 0
server thread 4 alive
server thread 4 loop 0
server thread 3 alive
server thread 3 loop 0
server thread 2 alive
server thread 2 loop 0
client thread 8 alive
client thread 8 loop 0
client thread 8 socket created 96536
client thread 8 socket connected 96536
client thread 8 socket wrote 8192
server thread 8 got connection 95776
server thread 8 read 8192 bytes
server thread 8 write 131072 bytes
server: 6000 0 0 0 6000
server thread 8 loop 1
client thread 5 alive
client thread 5 loop 0
client thread 5 socket created 96664
client thread 5 socket connected 96664
client thread 5 socket wrote 8192
server thread 5 got connection 96984
server thread 5 read 8192 bytes
server thread 5 write 131072 bytes
server: 8000 0 0 0 8000
server thread 5 loop 1
server thread 1 alive
server thread 1 loop 0
client thread 9 alive
client thread 9 loop 0
client thread 9 socket created 96600
client thread 9 socket connected 96600
client thread 9 socket wrote 8192
server thread 9 got connection 97368
server thread 9 read 8192 bytes
server thread 9 write 131072 bytes
server: 10000 0 0 0 10000
server thread 9 loop 1
client thread 6 alive
client thread 6 loop 0
client thread 6 socket created 96344
client thread 6 socket connected 96344
client thread 6 socket wrote 8192
client thread 7 alive
client thread 7 loop 0
client thread 7 socket created 92256
client thread 7 socket connected 92256
client thread 7 socket wrote 8192
server thread 7 got connection 94016
server thread 7 read 8192 bytes
server thread 7 write 131072 bytes
server: 10000 0 1000 0 11000
server thread 7 loop 1
server thread 6 got connection 97240
server thread 6 read 8192 bytes
server thread 6 write 131072 bytes
server: 12000 1000 0 0 13000
server thread 6 loop 1
client thread 4 alive
client thread 4 loop 0
client thread 4 socket created 96792
client thread 4 socket connected 96792
client thread 4 socket wrote 8192
server thread 4 got connection 96408
server thread 4 read 8192 bytes
server thread 4 write 131072 bytes
server: 13000 0 1000 0 14000
server thread 4 loop 1
client thread 3 alive
client thread 3 loop 0
client thread 3 socket created 94896
client thread 3 socket connected 94896
client thread 3 socket wrote 8192
server thread 3 got connection 93576
server thread 3 read 8192 bytes
server thread 3 write 131072 bytes
server: 15000 0 0 0 15000
server thread 3 loop 1
server thread 0 alive
server thread 0 loop 0
client thread 2 alive
client thread 2 loop 0
client thread 2 socket created 92696
client thread 2 socket connected 92696
client thread 2 socket wrote 8192
server thread 2 got connection 93136
server thread 2 read 8192 bytes
server thread 2 write 131072 bytes
server: 17000 0 1000 0 18000
server thread 2 loop 1
client thread 1 alive
client thread 1 loop 0
client thread 1 socket created 96728
client thread 1 socket connected 96728
client thread 1 socket wrote 8192
server thread 1 got connection 97048
server thread 1 read 8192 bytes
server thread 1 write 131072 bytes
server: 16000 0 0 1000 17000
server thread 1 loop 1
client thread 8 socket read 131072
client thread 8 loop 1
client thread 8 socket created 96280
server thread 8 got connection 96856
client thread 7 socket read 131072
client thread 7 loop 1
client thread 7 socket created 95776
server thread 7 got connection 96984
client thread 9 socket read 131072
client thread 9 loop 1
client thread 9 socket created 97368
server thread 9 got connection 94016
client thread 4 socket read 131072
client thread 4 loop 1
client thread 4 socket created 97240
server thread 4 got connection 96408
client thread 3 socket read 131072
client thread 3 loop 1
client thread 3 socket created 93576
server thread 3 got connection 93136
client thread 0 alive
client thread 0 loop 0
client thread 0 socket created 97048
client thread 0 socket connected 97048
client thread 0 socket wrote 8192
server thread 0 got connection 96536
server thread 0 read 8192 bytes
server thread 0 write 131072 bytes
server: 22000 0 0 0 22000
server thread 0 loop 1
client thread 3 socket connected 93576
server thread 3 read 8192 bytes
server thread 3 write 131072 bytes
server: 21000 3000 1000 0 25000
server thread 3 loop 2
client thread 2 socket read 131072
client thread 2 loop 1
client thread 2 socket created 92256
server thread 2 got connection 96600
client thread 1 socket read 131072
client thread 1 loop 1
client thread 1 socket created 96792
server thread 1 got connection 94896
client thread 5 socket read 131072
client thread 5 loop 1
client thread 5 socket created 96536
server thread 5 got connection 93136
client thread 6 socket read 131072
client thread 6 loop 1
client thread 6 socket created 92696
server thread 6 got connection 96728
client thread 4 socket connected 97240
server thread 4 read 8192 bytes
server thread 4 write 131072 bytes
server: 22000 13000 1000 0 36000
server thread 4 loop 2
client thread 4 socket wrote 8192
client thread 4 socket read 131072
client thread 4 loop 2
client thread 4 socket created 96664
server thread 4 got connection 96344
client thread 0 socket read 131072
client thread 0 loop 1
client thread 0 socket created 96408
server thread 0 got connection 97240
client thread 3 socket wrote 8192
client thread 3 socket read 131072
client thread 3 loop 2
client thread 3 socket created 97048
server thread 3 got connection 93576
client thread 2 socket connected 92256
server thread 2 read 8192 bytes
server thread 2 write 131072 bytes
server: 23000 15000 0 0 38000
server thread 2 loop 2
client thread 2 socket wrote 8192
client thread 2 socket read 131072
client thread 2 loop 2
client thread 2 socket created 96600
server thread 2 got connection 92256
client thread 2 socket connected 96600
server thread 2 read 8192 bytes
server thread 2 write 131072 bytes
server: 2000 0 1000 0 3000
server thread 2 loop 3
client thread 8 socket connected 96280
server thread 8 read 8192 bytes
server thread 8 write 131072 bytes
server: 23000 34000 1000 0 58000
server thread 8 loop 2
client thread 8 socket wrote 8192
client thread 8 socket read 131072
client thread 8 loop 2
client thread 8 socket created 92256
server thread 8 got connection 96856
client thread 5 socket connected 96536
server thread 5 read 8192 bytes
server thread 5 write 131072 bytes
server: 42000 16000 1000 0 59000
server thread 5 loop 2
client thread 5 socket wrote 8192
client thread 5 socket read 131072
client thread 5 loop 2
client thread 5 socket created 96280
server thread 5 got connection 93136
client thread 9 socket connected 97368
server thread 9 read 8192 bytes
server thread 9 write 131072 bytes
server: 26000 32000 0 0 58000
server thread 9 loop 2
client thread 9 socket wrote 8192
client thread 9 socket read 131072
client thread 9 loop 2
client thread 9 socket created 96536
server thread 9 got connection 94016
client thread 6 socket connected 92696
server thread 6 read 8192 bytes
server thread 6 write 131072 bytes
server: 37000 19000 1000 0 57000
server thread 6 loop 2
client thread 6 socket wrote 8192
client thread 6 socket read 131072
client thread 6 loop 2
client thread 6 socket created 97368
server thread 6 got connection 96728
client thread 4 socket connected 96664
server thread 4 read 8192 bytes
server thread 4 write 131072 bytes
server: 2000 19000 0 0 21000
server thread 4 loop 3
client thread 4 socket wrote 8192
client thread 4 socket read 131072
client thread 4 loop 3
client thread 4 socket created 92696
server thread 4 got connection 96344
client thread 1 socket connected 96792
server thread 1 read 8192 bytes
server thread 1 write 131072 bytes
server: 22000 28000 1000 0 51000
server thread 1 loop 2
client thread 1 socket wrote 8192
client thread 1 socket read 131072
client thread 1 loop 2
client thread 1 socket created 96664
server thread 1 got connection 94896
client thread 7 socket connected 95776
server thread 7 read 8192 bytes
server thread 7 write 131072 bytes
server: 19000 46000 0 0 65000
server thread 7 loop 2
client thread 7 socket wrote 8192
client thread 7 socket read 131072
client thread 7 loop 2
client thread 7 socket created 96792
server thread 7 got connection 96984
client thread 3 socket connected 97048
server thread 3 read 8192 bytes
server thread 3 write 131072 bytes
server: 15000 23000 0 0 38000
server thread 3 loop 3
client thread 3 socket wrote 8192
client thread 3 socket read 131072
client thread 3 loop 3
client thread 3 socket created 95776
server thread 3 got connection 93576
client thread 2 socket wrote 8192
client thread 2 socket read 131072
client thread 2 loop 3
client thread 2 socket created 97048
server thread 2 got connection 96600
client thread 0 socket connected 96408
server thread 0 read 8192 bytes
server thread 0 write 131072 bytes
server: 15000 28000 0 1000 44000
server thread 0 loop 2
client thread 0 socket wrote 8192
client thread 0 socket read 131072
client thread 0 loop 2
client thread 0 socket created 97240
server thread 0 got connection 96408
client thread 5 socket connected 96280
server thread 5 read 8192 bytes
server thread 5 write 131072 bytes
server: 1000 21000 0 0 22000
server thread 5 loop 3
client thread 5 socket wrote 8192
client thread 5 socket read 131072
client thread 5 loop 3
client thread 5 socket created 93136
server thread 5 got connection 96280
client thread 9 socket connected 96536
server thread 9 read 8192 bytes
server thread 9 write 131072 bytes
server: 2000 20000 1000 0 23000
server thread 9 loop 3
client thread 9 socket wrote 8192
client thread 9 socket read 131072
client thread 9 loop 3
client thread 9 socket created 94016
server thread 9 got connection 96536
client thread 6 socket connected 97368
server thread 6 read 8192 bytes
server thread 6 write 131072 bytes
server: 1000 21000 0 1000 23000
server thread 6 loop 3
client thread 6 socket wrote 8192
client thread 6 socket read 131072
client thread 6 loop 3
client thread 6 socket created 96728
server thread 6 got connection 97368
client thread 8 socket connected 92256
server thread 8 read 8192 bytes
server thread 8 write 131072 bytes
server: 2000 31000 0 0 33000
server thread 8 loop 3
client thread 8 socket wrote 8192
client thread 8 socket read 131072
client thread 8 loop 3
client thread 8 socket created 96856
server thread 8 got connection 92256
client thread 1 socket connected 96664
server thread 1 read 8192 bytes
server thread 1 write 131072 bytes
server: 2000 20000 1000 0 23000
server thread 1 loop 3
client thread 1 socket wrote 8192
client thread 1 socket read 131072
client thread 1 loop 3
client thread 1 socket created 94896
server thread 1 got connection 96664
client thread 7 socket connected 96792
server thread 7 read 8192 bytes
server thread 7 write 131072 bytes
server: 2000 21000 0 0 23000
server thread 7 loop 3
client thread 7 socket wrote 8192
client thread 7 socket read 131072
client thread 7 loop 3
client thread 7 socket created 96984
server thread 7 got connection 96792
client thread 4 socket connected 92696
server thread 4 read 8192 bytes
server thread 4 write 131072 bytes
server: 2000 28000 1000 0 31000
server thread 4 loop 4
client thread 4 socket wrote 8192
client thread 4 socket read 131072
client thread 4 loop 4
client thread 4 socket created 96344
server thread 4 got connection 92696
client thread 3 socket connected 95776
server thread 3 read 8192 bytes
server thread 3 write 131072 bytes
server: 2000 23000 1000 0 26000
server thread 3 loop 4
client thread 3 socket wrote 8192
client thread 3 socket read 131072
client thread 3 loop 4
client thread 3 socket created 93576
server thread 3 got connection 95776
client thread 2 socket connected 97048
server thread 2 read 8192 bytes
server thread 2 write 131072 bytes
server: 23000 24000 0 0 47000
server thread 2 loop 4
client thread 2 socket wrote 8192
client thread 2 socket read 131072
client thread 2 loop 4
client thread 2 socket created 96600
server thread 2 got connection 97048
client thread 2 socket connected 96600
server thread 2 read 8192 bytes
server thread 2 write 131072 bytes
server: 2000 0 1000 0 3000
Thread 2 EXIT
client thread 0 socket connected 97240
server thread 0 read 8192 bytes
server thread 0 write 131072 bytes
server: 1000 25000 1000 0 27000
server thread 0 loop 3
client thread 0 socket wrote 8192
client thread 0 socket read 131072
client thread 0 loop 3
client thread 0 socket created 97048
server thread 0 got connection 96472
client thread 9 socket connected 94016
server thread 9 read 8192 bytes
server thread 9 write 131072 bytes
server: 2000 22000 1000 0 25000
server thread 9 loop 4
client thread 9 socket wrote 8192
client thread 9 socket read 131072
client thread 9 loop 4
client thread 9 socket created 96408
server thread 9 got connection 97240
client thread 6 socket connected 96728
server thread 6 read 8192 bytes
server thread 6 write 131072 bytes
server: 1000 23000 0 0 24000
server thread 6 loop 4
client thread 6 socket wrote 8192
client thread 6 socket read 131072
client thread 6 loop 4
client thread 6 socket created 96536
server thread 6 got connection 94016
client thread 8 socket connected 96856
server thread 8 read 8192 bytes
server thread 8 write 131072 bytes
server: 2000 22000 1000 0 25000
server thread 8 loop 4
client thread 8 socket wrote 8192
client thread 8 socket read 131072
client thread 8 loop 4
client thread 8 socket created 97368
server thread 8 got connection 96728
client thread 5 socket connected 93136
server thread 5 read 8192 bytes
server thread 5 write 131072 bytes
server: 2000 33000 1000 0 36000
server thread 5 loop 4
client thread 5 socket wrote 8192
client thread 5 socket read 131072
client thread 5 loop 4
client thread 5 socket created 92256
server thread 5 got connection 96856
client thread 7 socket connected 96984
server thread 7 read 8192 bytes
server thread 7 write 131072 bytes
server: 2000 23000 0 0 25000
server thread 7 loop 4
client thread 7 socket wrote 8192
client thread 7 socket read 131072
client thread 7 loop 4
client thread 7 socket created 96280
server thread 7 got connection 93136
client thread 1 socket connected 94896
server thread 1 read 8192 bytes
server thread 1 write 131072 bytes
server: 1000 28000 1000 0 30000
server thread 1 loop 4
client thread 1 socket wrote 8192
client thread 1 socket read 131072
client thread 1 loop 4
client thread 1 socket created 96792
server thread 1 got connection 96984
client thread 4 socket connected 96344
server thread 4 read 8192 bytes
server thread 4 write 131072 bytes
server: 2000 25000 0 0 27000
Thread 4 EXIT
client thread 4 socket wrote 8192
client thread 4 socket read 131072
Thread 4 EXIT
client thread 3 socket connected 93576
server thread 3 read 8192 bytes
server thread 3 write 131072 bytes
server: 1000 25000 1000 0 27000
Thread 3 EXIT
client thread 3 socket wrote 8192
client thread 3 socket read 131072
Thread 3 EXIT
client thread 2 socket wrote 8192
client thread 2 socket read 131072
Thread 2 EXIT
client thread 9 socket connected 96408
server thread 9 read 8192 bytes
server thread 9 write 131072 bytes
server: 1000 20000 0 1000 22000
Thread 9 EXIT
client thread 9 socket wrote 8192
client thread 9 socket read 131072
Thread 9 EXIT
client thread 8 socket connected 97368
server thread 8 read 8192 bytes
server thread 8 write 131072 bytes
server: 2000 17000 0 0 19000
Thread 8 EXIT
client thread 6 socket connected 96536
server thread 6 read 8192 bytes
server thread 6 write 131072 bytes
server: 2000 21000 0 0 23000
Thread 6 EXIT
client thread 7 socket connected 96280
server thread 7 read 8192 bytes
server thread 7 write 131072 bytes
server: 2000 14000 1000 0 17000
Thread 7 EXIT
client thread 8 socket wrote 8192
client thread 8 socket read 131072
Thread 8 EXIT
client thread 6 socket wrote 8192
client thread 6 socket read 131072
Thread 6 EXIT
client thread 5 socket connected 92256
server thread 5 read 8192 bytes
server thread 5 write 131072 bytes
server: 1000 21000 1000 0 23000
Thread 5 EXIT
client thread 1 socket connected 96792
server thread 1 read 8192 bytes
server thread 1 write 131072 bytes
server: 1000 17000 1000 0 19000
Thread 1 EXIT
client thread 0 socket connected 97048
server thread 0 read 8192 bytes
server thread 0 write 131072 bytes
server: 2000 34000 0 0 36000
server thread 0 loop 4
client thread 5 socket wrote 8192
client thread 5 socket read 131072
Thread 5 EXIT
client thread 1 socket wrote 8192
client thread 1 socket read 131072
Thread 1 EXIT
client thread 0 socket wrote 8192
client thread 0 socket read 131072
client thread 0 loop 4
client thread 0 socket created 96664
server thread 0 got connection 94896
client thread 7 socket wrote 8192
client thread 7 socket read 131072
Thread 7 EXIT
client thread 0 socket connected 96664
server thread 0 read 8192 bytes
server thread 0 write 131072 bytes
server: 5000 2000 0 0 7000
Thread 0 EXIT
client thread 0 socket wrote 8192
client thread 0 socket read 131072
Thread 0 EXIT
Thread 0 EXIT triggered notify
TEST COMPLETE!
Server results:

----------
server per thread totals 20	223000	328100	10600	1300
server per thread elapsed time 563000
----------
Client results:

----------
client per thread totals 20	349500	50500	122200	3900
client per thread elapsed time 526100
               select loop kernel/kernel: 33000.00 usec

END TEST: sel_spd


BEGIN TEST: selct_er

'PR_FD_ZERO (PR_Select)' is obsolete. Use 'PR_Poll' instead.
'PR_FD_SET (PR_Select)' is obsolete. Use 'PR_Poll' instead.
'PR_Select' is obsolete. Use 'PR_Poll' instead.
'PR_FD_CLR (PR_Select)' is obsolete. Use 'PR_Poll' instead.

END TEST: selct_er


BEGIN TEST: selct_nm

'PR_FD_ZERO (PR_Select)' is obsolete. Use 'PR_Poll' instead.
'PR_FD_SET (PR_Select)' is obsolete. Use 'PR_Poll' instead.
'PR_Select' is obsolete. Use 'PR_Poll' instead.
'PR_FD_ISSET (PR_Select)' is obsolete. Use 'PR_Poll' instead.
'PR_FD_CLR (PR_Select)' is obsolete. Use 'PR_Poll' instead.

END TEST: selct_nm


BEGIN TEST: selct_to

'PR_FD_ZERO (PR_Select)' is obsolete. Use 'PR_Poll' instead.
'PR_FD_SET (PR_Select)' is obsolete. Use 'PR_Poll' instead.
'PR_Select' is obsolete. Use 'PR_Poll' instead.

END TEST: selct_to


BEGIN TEST: selintr

select returned 0

END TEST: selintr


BEGIN TEST: sema

warning: removed semaphore /tmp/foo.sem left over from previous run
warning: removed semaphore /tmp/bar.sem left over from previous run
PASS

END TEST: sema


BEGIN TEST: semaerr

process semaerr1 failed

END TEST: semaerr


BEGIN TEST: sendzlf

PASS

END TEST: sendzlf


BEGIN TEST: server_test


END TEST: server_test


BEGIN TEST: servr_kk


END TEST: servr_kk


BEGIN TEST: servr_uk


END TEST: servr_uk


BEGIN TEST: servr_ku


END TEST: servr_ku


BEGIN TEST: servr_uu


END TEST: servr_uu


BEGIN TEST: short_thread


END TEST: short_thread


BEGIN TEST: sigpipe

write to broken pipe failed with EPIPE, as expected
write to broken pipe failed with EPIPE, as expected
PASSED

END TEST: sigpipe


BEGIN TEST: socket

'PR_NewSem' is obsolete. Use 'locks & condition variables' instead.
'PR_WaitSem' is obsolete. Use 'locks & condition variables' instead.
'PR_PostSem' is obsolete. Use 'locks & condition variables' instead.
TCP Client/Server Test - IPv4/Ipv4
TCP_Socket_Client_Server_Test: 1 Server  5 Clients  5 connections_per_client
                             : 10 messages_per_connection 1024 bytes_per_message
TCP_Socket_Client_Server_Test Passed
TCP Client/Server Test - IPv6/Ipv4
TCP_Socket_Client_Server_Test: 1 Server  5 Clients  5 connections_per_client
                             : 10 messages_per_connection 1024 bytes_per_message
TCP_Socket_Client_Server_Test Passed
TCP Client/Server Test - IPv4/Ipv6
TCP_Socket_Client_Server_Test: 1 Server  5 Clients  5 connections_per_client
                             : 10 messages_per_connection 1024 bytes_per_message
TCP_Socket_Client_Server_Test Passed
TCP Client/Server Test - IPv6/Ipv6
TCP_Socket_Client_Server_Test: 1 Server  5 Clients  5 connections_per_client
                             : 10 messages_per_connection 1024 bytes_per_message
TCP_Socket_Client_Server_Test Passed
Socket_Misc_Test             : 1 Server  4 Clients
                             : Sizes of Transmitted Files  -    3 KB,  3 MB 
Socket_Misc_Test passed
TCP_Socket_Client_Server_Test: 1 Server  5 Clients  5 connections_per_client
                             : 10 messages_per_connection 1024 bytes_per_message
TCP_Socket_Client_Server_Test Passed

END TEST: socket


BEGIN TEST: sockopt

PASSED

END TEST: sockopt


BEGIN TEST: sockping

PR_Read failed: (-5961, 104)
ping process: sending "ping"

END TEST: sockping


BEGIN TEST: sprintf

PASS

END TEST: sprintf


BEGIN TEST: stack

./stack successful
		sum = 0x13948, expected = 0x13948

END TEST: stack


BEGIN TEST: stdio

This to standard out
This to standard err

END TEST: stdio


BEGIN TEST: str2addr

PASS

END TEST: str2addr


BEGIN TEST: strod

Settings
	Number to translate 1234567890123456789
	Loops to run test: 1
Translation =  1234567890123456768

END TEST: strod


BEGIN TEST: switch

PASSED

END TEST: switch


BEGIN TEST: system

PR_SI_HOSTNAME: qemuarm
PR_SI_SYSNAME: Linux
PR_SI_RELEASE: 3.2.2-yocto-standard+
PR_SI_ARCHITECTURE: arm
Host page size is 4096
Page shift is 12
Memory map alignment is 4096
Number of processors is: 1
Physical memory size is: 125829120

END TEST: system


BEGIN TEST: testbit

PASSED

END TEST: testbit


BEGIN TEST: testfile

File Test passed
Dir Test passed

END TEST: testfile


BEGIN TEST: threads

PASS

END TEST: threads


BEGIN TEST: timemac

*********************************************
**                                         **
** Testing PR_Now(), PR_ExplodeTime, and   **
** PR_ImplodeTime on the current time      **
**                                         **
*********************************************

Current UTC is Sat Feb 11 12:18:29 UTC 2012
Current local time is Sat Feb 11 12:18:29 UTC 2012
GMT offset is 0, DST offset is 0
Please examine the results

END TEST: timemac


BEGIN TEST: timetest


END TEST: timetest


BEGIN TEST: tpd

PASSED

END TEST: tpd


BEGIN TEST: udpsrv


END TEST: udpsrv


BEGIN TEST: vercheck

NSPR release 4.8.9:
Compatible with version 4.0
Compatible with version 4.0.1
Compatible with version 4.1
Compatible with version 4.1.1
Compatible with version 4.1.2
Compatible with version 4.1.3
Compatible with version 4.2
Compatible with version 4.2.1
Compatible with version 4.2.2
Compatible with version 4.3
Compatible with version 4.4
Compatible with version 4.4.1
Compatible with version 4.5
Compatible with version 4.5.1
Compatible with version 4.6
Compatible with version 4.6.1
Compatible with version 4.6.2
Compatible with version 4.6.3
Compatible with version 4.6.4
Compatible with version 4.6.5
Compatible with version 4.6.6
Compatible with version 4.6.7
Compatible with version 4.6.8
Compatible with version 4.7
Compatible with version 4.7.1
Compatible with version 4.7.2
Compatible with version 4.7.3
Compatible with version 4.7.4
Compatible with version 4.7.5
Compatible with version 4.7.6
Compatible with version 4.8
Compatible with version 4.8.1
Compatible with version 4.8.2
Compatible with version 4.8.3
Compatible with version 4.8.4
Compatible with version 4.8.5
Compatible with version 4.8.6
Compatible with version 4.8.7
Compatible with version 4.8.8
Compatible with version 4.8.9
Incompatible with version 2.1 19980529
Incompatible with version 3.0
Incompatible with version 3.0.1
Incompatible with version 3.1
Incompatible with version 3.1.1
Incompatible with version 3.1.2
Incompatible with version 3.1.3
Incompatible with version 3.5
Incompatible with version 3.5.1
Incompatible with version 4.8.10
Incompatible with version 4.9
Incompatible with version 4.9.1
Incompatible with version 10.0
Incompatible with version 11.1
Incompatible with version 12.14.20
PASS

END TEST: vercheck


BEGIN TEST: version

Runtime library version information
  Build time: 10 Feb 2012 22:09:14 GMT
  Build time: 2012-02-11 00:09:14
  Portable runtime V4.8.9 ( debug )
  filename: libplc4.so
  security: N/A
  copyright: Copyright (c) 1998 Netscape Communications Corporation. All Rights Reserved
  comment: http://www.mozilla.org/MPL/

END TEST: version


BEGIN TEST: writev

PASSED

END TEST: writev


BEGIN TEST: xnotify

Done!

END TEST: xnotify


BEGIN TEST: zerolen

calling PR_Writev with a zero-length buffer
calling PR_Write with a zero-length buffer
calling PR_Send with a zero-length buffer
PASS

END TEST: zerolen


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH] nspr: Compile nspr with tests 1. Compile package tests suite 2. Add patch for removing rpath from binaries 3. Add tests to -dev rpm as it needs dev libraries
  2012-02-11 12:46 [PATCH] nspr: Compile nspr with tests 1. Compile package tests suite 2. Add patch for removing rpath from binaries 3. Add tests to -dev rpm as it needs dev libraries Andrei Gherzan
  2012-02-11 12:50 ` Andrei Gherzan
@ 2012-02-11 12:55 ` Otavio Salvador
  1 sibling, 0 replies; 5+ messages in thread
From: Otavio Salvador @ 2012-02-11 12:55 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer

[-- Attachment #1: Type: text/plain, Size: 426 bytes --]

On Sat, Feb 11, 2012 at 10:46, Andrei Gherzan <andrei@gherzan.ro> wrote:

> +do_compile_append() {
> +    cd pr/tests
> +    make
> +}
>

I'd prefer if you might use:

oe_runmake -C pr/tests

Ought to do the same.

-- 
Otavio Salvador                             O.S. Systems
E-mail: otavio@ossystems.com.br  http://www.ossystems.com.br
Mobile: +55 53 9981-7854              http://projetos.ossystems.com.br

[-- Attachment #2: Type: text/html, Size: 944 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH] nspr: Compile nspr with tests 1. Compile package tests suite 2. Add patch for removing rpath from binaries 3. Add tests to -dev rpm as it needs dev libraries
  2012-02-12 18:42 Andrei Gherzan
@ 2012-02-12 19:19 ` Paul Menzel
  0 siblings, 0 replies; 5+ messages in thread
From: Paul Menzel @ 2012-02-12 19:19 UTC (permalink / raw)
  To: openembedded-core

[-- Attachment #1: Type: text/plain, Size: 6383 bytes --]

Dear Andrei,


Am Sonntag, den 12.02.2012, 20:42 +0200 schrieb Andrei Gherzan:

Thank you for your patch. Unfortunately all the commit message went in
the subject line so there seem to be some line breaks missing.

Additionally I think 2. is unrelated and could be a separate patch?

> Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
> ---

If you send updated patches please add that to the tag PATCH like for
example [PATCH v3] [1].

Also please add what changed to the previous iterations.

>  .../nspr/files/remove-rpath-from-tests.patch       |   21 +++
>  meta/recipes-support/nspr/nspr_4.8.9.bb            |  134 +++++++++++++++++++-
>  2 files changed, 151 insertions(+), 4 deletions(-)
>  create mode 100644 meta/recipes-support/nspr/files/remove-rpath-from-tests.patch
> 
> diff --git a/meta/recipes-support/nspr/files/remove-rpath-from-tests.patch b/meta/recipes-support/nspr/files/remove-rpath-from-tests.patch
> new file mode 100644
> index 0000000..819c784
> --- /dev/null
> +++ b/meta/recipes-support/nspr/files/remove-rpath-from-tests.patch
> @@ -0,0 +1,21 @@
> +Author: Andrei Gherzan <andrei@gherzan.ro>
> +Date:   Thu Feb 9 00:03:38 2012 +0200
> +
> +Avoid QA warnings by removing hardcoded rpath from binaries.

Could you paste that warning here please.

> +
> +Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
> +Upstream-Status: Pending
> +
> +Index: nspr-4.8.9/mozilla/nsprpub/pr/tests/Makefile.in
> +===================================================================
> +--- nsprpub.orig/pr/tests/Makefile.in	2012-02-11 00:01:10.476220505 +0200
> ++++ nsprpub/pr/tests/Makefile.in	2012-02-10 23:57:40.000000000 +0200
> +@@ -379,7 +379,7 @@
> + endif
> + 
> + ifeq (,$(filter-out Linux GNU GNU_%,$(OS_ARCH)))
> +-    LDOPTS += -Xlinker -rpath $(ABSOLUTE_LIB_DIR)
> ++    LDOPTS += -Xlinker
> +     ifeq ($(USE_PTHREADS),1)
> +         EXTRA_LIBS = -lpthread
> +     endif
> diff --git a/meta/recipes-support/nspr/nspr_4.8.9.bb b/meta/recipes-support/nspr/nspr_4.8.9.bb
> index da324fc..c68599c 100644
> --- a/meta/recipes-support/nspr/nspr_4.8.9.bb
> +++ b/meta/recipes-support/nspr/nspr_4.8.9.bb
> @@ -5,17 +5,135 @@ LIC_FILES_CHKSUM = "file://configure.in;beginline=3;endline=40;md5=99d4d7d68bbc4
>                      file://Makefile.in;beginline=4;endline=38;md5=c2b512182a334e1bfa1edc4d1c84a298 "
>  SECTION = "libs/network"
>  
> -PR = "r0"
> +PR = "r1"
>  
> -SRC_URI = "ftp://ftp.mozilla.org/pub/mozilla.org/nspr/releases/v${PV}/src/nspr-${PV}.tar.gz"
> +SRC_URI = "ftp://ftp.mozilla.org/pub/mozilla.org/nspr/releases/v${PV}/src/nspr-${PV}.tar.gz \
> +           file://remove-rpath-from-tests.patch"

Could you please change that to the following to make future diffs
smaller.

SRC_URI = "ftp://ftp.mozilla.org/pub/mozilla.org/nspr/releases/v${PV}/src/nspr-${PV}.tar.gz \
           file://remove-rpath-from-tests.patch \
          "

>  
> -SRC_URI += "file://nspr.pc.in "
> +SRC_URI += "file://nspr.pc.in"
>  
>  SRC_URI[md5sum] = "60770d45dc08c0f181b22cdfce5be3e8"
>  SRC_URI[sha256sum] = "ff43c7c819e72f03bb908e7652c5d5f59a5d31ee86c333e692650207103d1cce"
>  
>  S = "${WORKDIR}/nspr-${PV}/mozilla/nsprpub"
>  
> +TESTS = "runtests.pl \
> +    runtests.sh \
> +    accept \
> +    acceptread \
> +    acceptreademu \
> +    affinity \
> +    alarm \
> +    anonfm \
> +    atomic \
> +    attach \
> +    bigfile \
> +    cleanup \
> +    cltsrv  \
> +    concur \
> +    cvar \
> +    cvar2 \
> +    dlltest \
> +    dtoa \
> +    errcodes \
> +    exit \
> +    fdcach \
> +    fileio \
> +    foreign \
> +    formattm \
> +    fsync \
> +    gethost \
> +    getproto \
> +    i2l \
> +    initclk \
> +    inrval \
> +    instrumt \
> +    intrio \
> +    intrupt \
> +    io_timeout \
> +    ioconthr \
> +    join \
> +    joinkk \
> +    joinku \
> +    joinuk \
> +    joinuu \
> +    layer \
> +    lazyinit \
> +    libfilename \
> +    lltest \
> +    lock \
> +    lockfile \
> +    logfile \
> +    logger \
> +    many_cv \
> +    multiwait \
> +    nameshm1 \
> +    nblayer \
> +    nonblock \
> +    ntioto \
> +    ntoh \
> +    op_2long \
> +    op_excl \
> +    op_filnf \
> +    op_filok \
> +    op_nofil \
> +    parent \
> +    parsetm \
> +    peek \
> +    perf \
> +    pipeping \
> +    pipeping2 \
> +    pipeself \
> +    poll_nm \
> +    poll_to \
> +    pollable \
> +    prftest \
> +    primblok \
> +    provider \
> +    prpollml \
> +    ranfile \
> +    randseed \
> +    reinit \
> +    rwlocktest \
> +    sel_spd \
> +    selct_er \
> +    selct_nm \
> +    selct_to \
> +    selintr \
> +    sema \
> +    semaerr \
> +    semaping \
> +    sendzlf \
> +    server_test \
> +    servr_kk \
> +    servr_uk \
> +    servr_ku \
> +    servr_uu \
> +    short_thread \
> +    sigpipe \
> +    socket \
> +    sockopt \
> +    sockping \
> +    sprintf \
> +    stack \
> +    stdio \
> +    str2addr \
> +    strod \
> +    switch \
> +    system \
> +    testbit \
> +    testfile \
> +    threads \
> +    timemac \
> +    timetest \
> +    tpd \
> +    udpsrv \
> +    vercheck \
> +    version \
> +    writev \
> +    xnotify \
> +    zerolen"
> +
>  inherit autotools
>  
>  do_configure() {
> @@ -26,12 +144,20 @@ do_compile_prepend() {
>  	oe_runmake CROSS_COMPILE=1 CFLAGS="-DXP_UNIX" LDFLAGS="" CC=gcc -C config export
>  }
>  
> +do_compile_append() {
> +	oe_runmake -C pr/tests
> +}
> +
>  do_install_append() {
>      install -D ${WORKDIR}/nspr.pc.in ${D}${libdir}/pkgconfig/nspr.pc
>      sed -i s:OEPREFIX:${prefix}:g ${D}${libdir}/pkgconfig/nspr.pc
>      sed -i s:OELIBDIR:${libdir}:g ${D}${libdir}/pkgconfig/nspr.pc
>      sed -i s:OEINCDIR:${includedir}:g ${D}${libdir}/pkgconfig/nspr.pc
>      sed -i s:OEEXECPREFIX:${exec_prefix}:g ${D}${libdir}/pkgconfig/nspr.pc
> +    cd ${S}/pr/tests
> +    mkdir -p ${D}/opt/nspr_tests
> +    install -m 0755 ${TESTS} ${D}/opt/nspr_tests
>  }

I am not sure if `/opt` is a good choice.

>  
> -
> +FILES_${PN}-dev += "/opt/nspr_tests/*"
> +FILES_${PN}-dbg += "/opt/nspr_tests/.debug/*"


Thanks,

Paul


[1] http://www.openembedded.org/wiki/How_to_submit_a_patch_to_OpenEmbedded#Create_and_Commit_your_patch

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 205 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [PATCH] nspr: Compile nspr with tests 1. Compile package tests suite 2. Add patch for removing rpath from binaries 3. Add tests to -dev rpm as it needs dev libraries
@ 2012-02-12 18:42 Andrei Gherzan
  2012-02-12 19:19 ` Paul Menzel
  0 siblings, 1 reply; 5+ messages in thread
From: Andrei Gherzan @ 2012-02-12 18:42 UTC (permalink / raw)
  To: openembedded-core

Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
---
 .../nspr/files/remove-rpath-from-tests.patch       |   21 +++
 meta/recipes-support/nspr/nspr_4.8.9.bb            |  134 +++++++++++++++++++-
 2 files changed, 151 insertions(+), 4 deletions(-)
 create mode 100644 meta/recipes-support/nspr/files/remove-rpath-from-tests.patch

diff --git a/meta/recipes-support/nspr/files/remove-rpath-from-tests.patch b/meta/recipes-support/nspr/files/remove-rpath-from-tests.patch
new file mode 100644
index 0000000..819c784
--- /dev/null
+++ b/meta/recipes-support/nspr/files/remove-rpath-from-tests.patch
@@ -0,0 +1,21 @@
+Author: Andrei Gherzan <andrei@gherzan.ro>
+Date:   Thu Feb 9 00:03:38 2012 +0200
+
+Avoid QA warnings by removing hardcoded rpath from binaries.
+
+Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
+Upstream-Status: Pending
+
+Index: nspr-4.8.9/mozilla/nsprpub/pr/tests/Makefile.in
+===================================================================
+--- nsprpub.orig/pr/tests/Makefile.in	2012-02-11 00:01:10.476220505 +0200
++++ nsprpub/pr/tests/Makefile.in	2012-02-10 23:57:40.000000000 +0200
+@@ -379,7 +379,7 @@
+ endif
+ 
+ ifeq (,$(filter-out Linux GNU GNU_%,$(OS_ARCH)))
+-    LDOPTS += -Xlinker -rpath $(ABSOLUTE_LIB_DIR)
++    LDOPTS += -Xlinker
+     ifeq ($(USE_PTHREADS),1)
+         EXTRA_LIBS = -lpthread
+     endif
diff --git a/meta/recipes-support/nspr/nspr_4.8.9.bb b/meta/recipes-support/nspr/nspr_4.8.9.bb
index da324fc..c68599c 100644
--- a/meta/recipes-support/nspr/nspr_4.8.9.bb
+++ b/meta/recipes-support/nspr/nspr_4.8.9.bb
@@ -5,17 +5,135 @@ LIC_FILES_CHKSUM = "file://configure.in;beginline=3;endline=40;md5=99d4d7d68bbc4
                     file://Makefile.in;beginline=4;endline=38;md5=c2b512182a334e1bfa1edc4d1c84a298 "
 SECTION = "libs/network"
 
-PR = "r0"
+PR = "r1"
 
-SRC_URI = "ftp://ftp.mozilla.org/pub/mozilla.org/nspr/releases/v${PV}/src/nspr-${PV}.tar.gz"
+SRC_URI = "ftp://ftp.mozilla.org/pub/mozilla.org/nspr/releases/v${PV}/src/nspr-${PV}.tar.gz \
+           file://remove-rpath-from-tests.patch"
 
-SRC_URI += "file://nspr.pc.in "
+SRC_URI += "file://nspr.pc.in"
 
 SRC_URI[md5sum] = "60770d45dc08c0f181b22cdfce5be3e8"
 SRC_URI[sha256sum] = "ff43c7c819e72f03bb908e7652c5d5f59a5d31ee86c333e692650207103d1cce"
 
 S = "${WORKDIR}/nspr-${PV}/mozilla/nsprpub"
 
+TESTS = "runtests.pl \
+    runtests.sh \
+    accept \
+    acceptread \
+    acceptreademu \
+    affinity \
+    alarm \
+    anonfm \
+    atomic \
+    attach \
+    bigfile \
+    cleanup \
+    cltsrv  \
+    concur \
+    cvar \
+    cvar2 \
+    dlltest \
+    dtoa \
+    errcodes \
+    exit \
+    fdcach \
+    fileio \
+    foreign \
+    formattm \
+    fsync \
+    gethost \
+    getproto \
+    i2l \
+    initclk \
+    inrval \
+    instrumt \
+    intrio \
+    intrupt \
+    io_timeout \
+    ioconthr \
+    join \
+    joinkk \
+    joinku \
+    joinuk \
+    joinuu \
+    layer \
+    lazyinit \
+    libfilename \
+    lltest \
+    lock \
+    lockfile \
+    logfile \
+    logger \
+    many_cv \
+    multiwait \
+    nameshm1 \
+    nblayer \
+    nonblock \
+    ntioto \
+    ntoh \
+    op_2long \
+    op_excl \
+    op_filnf \
+    op_filok \
+    op_nofil \
+    parent \
+    parsetm \
+    peek \
+    perf \
+    pipeping \
+    pipeping2 \
+    pipeself \
+    poll_nm \
+    poll_to \
+    pollable \
+    prftest \
+    primblok \
+    provider \
+    prpollml \
+    ranfile \
+    randseed \
+    reinit \
+    rwlocktest \
+    sel_spd \
+    selct_er \
+    selct_nm \
+    selct_to \
+    selintr \
+    sema \
+    semaerr \
+    semaping \
+    sendzlf \
+    server_test \
+    servr_kk \
+    servr_uk \
+    servr_ku \
+    servr_uu \
+    short_thread \
+    sigpipe \
+    socket \
+    sockopt \
+    sockping \
+    sprintf \
+    stack \
+    stdio \
+    str2addr \
+    strod \
+    switch \
+    system \
+    testbit \
+    testfile \
+    threads \
+    timemac \
+    timetest \
+    tpd \
+    udpsrv \
+    vercheck \
+    version \
+    writev \
+    xnotify \
+    zerolen"
+
 inherit autotools
 
 do_configure() {
@@ -26,12 +144,20 @@ do_compile_prepend() {
 	oe_runmake CROSS_COMPILE=1 CFLAGS="-DXP_UNIX" LDFLAGS="" CC=gcc -C config export
 }
 
+do_compile_append() {
+	oe_runmake -C pr/tests
+}
+
 do_install_append() {
     install -D ${WORKDIR}/nspr.pc.in ${D}${libdir}/pkgconfig/nspr.pc
     sed -i s:OEPREFIX:${prefix}:g ${D}${libdir}/pkgconfig/nspr.pc
     sed -i s:OELIBDIR:${libdir}:g ${D}${libdir}/pkgconfig/nspr.pc
     sed -i s:OEINCDIR:${includedir}:g ${D}${libdir}/pkgconfig/nspr.pc
     sed -i s:OEEXECPREFIX:${exec_prefix}:g ${D}${libdir}/pkgconfig/nspr.pc
+    cd ${S}/pr/tests
+    mkdir -p ${D}/opt/nspr_tests
+    install -m 0755 ${TESTS} ${D}/opt/nspr_tests
 }
 
-
+FILES_${PN}-dev += "/opt/nspr_tests/*"
+FILES_${PN}-dbg += "/opt/nspr_tests/.debug/*"
-- 
1.7.5.4




^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2012-02-12 19:28 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-02-11 12:46 [PATCH] nspr: Compile nspr with tests 1. Compile package tests suite 2. Add patch for removing rpath from binaries 3. Add tests to -dev rpm as it needs dev libraries Andrei Gherzan
2012-02-11 12:50 ` Andrei Gherzan
2012-02-11 12:55 ` Otavio Salvador
2012-02-12 18:42 Andrei Gherzan
2012-02-12 19:19 ` Paul Menzel

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.