yolobs-studio/deps/w32-pthreads/tests
2017-04-19 22:03:16 +02:00
..
barrier1.c New upstream version 18.0.1+dfsg1 2017-04-19 22:03:16 +02:00
barrier2.c New upstream version 18.0.1+dfsg1 2017-04-19 22:03:16 +02:00
barrier3.c New upstream version 18.0.1+dfsg1 2017-04-19 22:03:16 +02:00
barrier4.c New upstream version 18.0.1+dfsg1 2017-04-19 22:03:16 +02:00
barrier5.c New upstream version 18.0.1+dfsg1 2017-04-19 22:03:16 +02:00
barrier6.c New upstream version 18.0.1+dfsg1 2017-04-19 22:03:16 +02:00
benchlib.c New upstream version 18.0.1+dfsg1 2017-04-19 22:03:16 +02:00
benchtest.h New upstream version 18.0.1+dfsg1 2017-04-19 22:03:16 +02:00
benchtest1.c New upstream version 18.0.1+dfsg1 2017-04-19 22:03:16 +02:00
benchtest2.c New upstream version 18.0.1+dfsg1 2017-04-19 22:03:16 +02:00
benchtest3.c New upstream version 18.0.1+dfsg1 2017-04-19 22:03:16 +02:00
benchtest4.c New upstream version 18.0.1+dfsg1 2017-04-19 22:03:16 +02:00
benchtest5.c New upstream version 18.0.1+dfsg1 2017-04-19 22:03:16 +02:00
Bmakefile New upstream version 18.0.1+dfsg1 2017-04-19 22:03:16 +02:00
cancel1.c New upstream version 18.0.1+dfsg1 2017-04-19 22:03:16 +02:00
cancel2.c New upstream version 18.0.1+dfsg1 2017-04-19 22:03:16 +02:00
cancel3.c New upstream version 18.0.1+dfsg1 2017-04-19 22:03:16 +02:00
cancel4.c New upstream version 18.0.1+dfsg1 2017-04-19 22:03:16 +02:00
cancel5.c New upstream version 18.0.1+dfsg1 2017-04-19 22:03:16 +02:00
cancel6a.c New upstream version 18.0.1+dfsg1 2017-04-19 22:03:16 +02:00
cancel6d.c New upstream version 18.0.1+dfsg1 2017-04-19 22:03:16 +02:00
cancel7.c New upstream version 18.0.1+dfsg1 2017-04-19 22:03:16 +02:00
cancel8.c New upstream version 18.0.1+dfsg1 2017-04-19 22:03:16 +02:00
cancel9.c New upstream version 18.0.1+dfsg1 2017-04-19 22:03:16 +02:00
ChangeLog New upstream version 18.0.1+dfsg1 2017-04-19 22:03:16 +02:00
cleanup0.c New upstream version 18.0.1+dfsg1 2017-04-19 22:03:16 +02:00
cleanup1.c New upstream version 18.0.1+dfsg1 2017-04-19 22:03:16 +02:00
cleanup2.c New upstream version 18.0.1+dfsg1 2017-04-19 22:03:16 +02:00
cleanup3.c New upstream version 18.0.1+dfsg1 2017-04-19 22:03:16 +02:00
condvar1.c New upstream version 18.0.1+dfsg1 2017-04-19 22:03:16 +02:00
condvar1_1.c New upstream version 18.0.1+dfsg1 2017-04-19 22:03:16 +02:00
condvar1_2.c New upstream version 18.0.1+dfsg1 2017-04-19 22:03:16 +02:00
condvar2.c New upstream version 18.0.1+dfsg1 2017-04-19 22:03:16 +02:00
condvar2_1.c New upstream version 18.0.1+dfsg1 2017-04-19 22:03:16 +02:00
condvar3.c New upstream version 18.0.1+dfsg1 2017-04-19 22:03:16 +02:00
condvar3_1.c New upstream version 18.0.1+dfsg1 2017-04-19 22:03:16 +02:00
condvar3_2.c New upstream version 18.0.1+dfsg1 2017-04-19 22:03:16 +02:00
condvar3_3.c New upstream version 18.0.1+dfsg1 2017-04-19 22:03:16 +02:00
condvar4.c New upstream version 18.0.1+dfsg1 2017-04-19 22:03:16 +02:00
condvar5.c New upstream version 18.0.1+dfsg1 2017-04-19 22:03:16 +02:00
condvar6.c New upstream version 18.0.1+dfsg1 2017-04-19 22:03:16 +02:00
condvar7.c New upstream version 18.0.1+dfsg1 2017-04-19 22:03:16 +02:00
condvar8.c New upstream version 18.0.1+dfsg1 2017-04-19 22:03:16 +02:00
condvar9.c New upstream version 18.0.1+dfsg1 2017-04-19 22:03:16 +02:00
context1.c New upstream version 18.0.1+dfsg1 2017-04-19 22:03:16 +02:00
count1.c New upstream version 18.0.1+dfsg1 2017-04-19 22:03:16 +02:00
create1.c New upstream version 18.0.1+dfsg1 2017-04-19 22:03:16 +02:00
create2.c New upstream version 18.0.1+dfsg1 2017-04-19 22:03:16 +02:00
create3.c New upstream version 18.0.1+dfsg1 2017-04-19 22:03:16 +02:00
Debug.dsp New upstream version 18.0.1+dfsg1 2017-04-19 22:03:16 +02:00
Debug.dsw New upstream version 18.0.1+dfsg1 2017-04-19 22:03:16 +02:00
Debug.plg New upstream version 18.0.1+dfsg1 2017-04-19 22:03:16 +02:00
Debug.txt New upstream version 18.0.1+dfsg1 2017-04-19 22:03:16 +02:00
delay1.c New upstream version 18.0.1+dfsg1 2017-04-19 22:03:16 +02:00
delay2.c New upstream version 18.0.1+dfsg1 2017-04-19 22:03:16 +02:00
detach1.c New upstream version 18.0.1+dfsg1 2017-04-19 22:03:16 +02:00
equal1.c New upstream version 18.0.1+dfsg1 2017-04-19 22:03:16 +02:00
errno1.c New upstream version 18.0.1+dfsg1 2017-04-19 22:03:16 +02:00
exception1.c New upstream version 18.0.1+dfsg1 2017-04-19 22:03:16 +02:00
exception2.c New upstream version 18.0.1+dfsg1 2017-04-19 22:03:16 +02:00
exception3.c New upstream version 18.0.1+dfsg1 2017-04-19 22:03:16 +02:00
exit1.c New upstream version 18.0.1+dfsg1 2017-04-19 22:03:16 +02:00
exit2.c New upstream version 18.0.1+dfsg1 2017-04-19 22:03:16 +02:00
exit3.c New upstream version 18.0.1+dfsg1 2017-04-19 22:03:16 +02:00
exit4.c New upstream version 18.0.1+dfsg1 2017-04-19 22:03:16 +02:00
exit5.c New upstream version 18.0.1+dfsg1 2017-04-19 22:03:16 +02:00
eyal1.c New upstream version 18.0.1+dfsg1 2017-04-19 22:03:16 +02:00
GNUmakefile New upstream version 18.0.1+dfsg1 2017-04-19 22:03:16 +02:00
inherit1.c New upstream version 18.0.1+dfsg1 2017-04-19 22:03:16 +02:00
join0.c New upstream version 18.0.1+dfsg1 2017-04-19 22:03:16 +02:00
join1.c New upstream version 18.0.1+dfsg1 2017-04-19 22:03:16 +02:00
join2.c New upstream version 18.0.1+dfsg1 2017-04-19 22:03:16 +02:00
join3.c New upstream version 18.0.1+dfsg1 2017-04-19 22:03:16 +02:00
kill1.c New upstream version 18.0.1+dfsg1 2017-04-19 22:03:16 +02:00
loadfree.c New upstream version 18.0.1+dfsg1 2017-04-19 22:03:16 +02:00
Makefile New upstream version 18.0.1+dfsg1 2017-04-19 22:03:16 +02:00
mutex1.c New upstream version 18.0.1+dfsg1 2017-04-19 22:03:16 +02:00
mutex1e.c New upstream version 18.0.1+dfsg1 2017-04-19 22:03:16 +02:00
mutex1n.c New upstream version 18.0.1+dfsg1 2017-04-19 22:03:16 +02:00
mutex1r.c New upstream version 18.0.1+dfsg1 2017-04-19 22:03:16 +02:00
mutex2.c New upstream version 18.0.1+dfsg1 2017-04-19 22:03:16 +02:00
mutex2e.c New upstream version 18.0.1+dfsg1 2017-04-19 22:03:16 +02:00
mutex2r.c New upstream version 18.0.1+dfsg1 2017-04-19 22:03:16 +02:00
mutex3.c New upstream version 18.0.1+dfsg1 2017-04-19 22:03:16 +02:00
mutex3e.c New upstream version 18.0.1+dfsg1 2017-04-19 22:03:16 +02:00
mutex3r.c New upstream version 18.0.1+dfsg1 2017-04-19 22:03:16 +02:00
mutex4.c New upstream version 18.0.1+dfsg1 2017-04-19 22:03:16 +02:00
mutex5.c New upstream version 18.0.1+dfsg1 2017-04-19 22:03:16 +02:00
mutex6.c New upstream version 18.0.1+dfsg1 2017-04-19 22:03:16 +02:00
mutex6e.c New upstream version 18.0.1+dfsg1 2017-04-19 22:03:16 +02:00
mutex6es.c New upstream version 18.0.1+dfsg1 2017-04-19 22:03:16 +02:00
mutex6n.c New upstream version 18.0.1+dfsg1 2017-04-19 22:03:16 +02:00
mutex6r.c New upstream version 18.0.1+dfsg1 2017-04-19 22:03:16 +02:00
mutex6rs.c New upstream version 18.0.1+dfsg1 2017-04-19 22:03:16 +02:00
mutex6s.c New upstream version 18.0.1+dfsg1 2017-04-19 22:03:16 +02:00
mutex7.c New upstream version 18.0.1+dfsg1 2017-04-19 22:03:16 +02:00
mutex7e.c New upstream version 18.0.1+dfsg1 2017-04-19 22:03:16 +02:00
mutex7n.c New upstream version 18.0.1+dfsg1 2017-04-19 22:03:16 +02:00
mutex7r.c New upstream version 18.0.1+dfsg1 2017-04-19 22:03:16 +02:00
mutex8.c New upstream version 18.0.1+dfsg1 2017-04-19 22:03:16 +02:00
mutex8e.c New upstream version 18.0.1+dfsg1 2017-04-19 22:03:16 +02:00
mutex8n.c New upstream version 18.0.1+dfsg1 2017-04-19 22:03:16 +02:00
mutex8r.c New upstream version 18.0.1+dfsg1 2017-04-19 22:03:16 +02:00
once1.c New upstream version 18.0.1+dfsg1 2017-04-19 22:03:16 +02:00
once2.c New upstream version 18.0.1+dfsg1 2017-04-19 22:03:16 +02:00
once3.c New upstream version 18.0.1+dfsg1 2017-04-19 22:03:16 +02:00
once4.c New upstream version 18.0.1+dfsg1 2017-04-19 22:03:16 +02:00
openmp1.c New upstream version 18.0.1+dfsg1 2017-04-19 22:03:16 +02:00
priority1.c New upstream version 18.0.1+dfsg1 2017-04-19 22:03:16 +02:00
priority2.c New upstream version 18.0.1+dfsg1 2017-04-19 22:03:16 +02:00
README New upstream version 18.0.1+dfsg1 2017-04-19 22:03:16 +02:00
README.BENCHTESTS New upstream version 18.0.1+dfsg1 2017-04-19 22:03:16 +02:00
reuse1.c New upstream version 18.0.1+dfsg1 2017-04-19 22:03:16 +02:00
reuse2.c New upstream version 18.0.1+dfsg1 2017-04-19 22:03:16 +02:00
robust1.c New upstream version 18.0.1+dfsg1 2017-04-19 22:03:16 +02:00
robust2.c New upstream version 18.0.1+dfsg1 2017-04-19 22:03:16 +02:00
robust3.c New upstream version 18.0.1+dfsg1 2017-04-19 22:03:16 +02:00
robust4.c New upstream version 18.0.1+dfsg1 2017-04-19 22:03:16 +02:00
robust5.c New upstream version 18.0.1+dfsg1 2017-04-19 22:03:16 +02:00
rwlock1.c New upstream version 18.0.1+dfsg1 2017-04-19 22:03:16 +02:00
rwlock2.c New upstream version 18.0.1+dfsg1 2017-04-19 22:03:16 +02:00
rwlock2_t.c New upstream version 18.0.1+dfsg1 2017-04-19 22:03:16 +02:00
rwlock3.c New upstream version 18.0.1+dfsg1 2017-04-19 22:03:16 +02:00
rwlock3_t.c New upstream version 18.0.1+dfsg1 2017-04-19 22:03:16 +02:00
rwlock4.c New upstream version 18.0.1+dfsg1 2017-04-19 22:03:16 +02:00
rwlock4_t.c New upstream version 18.0.1+dfsg1 2017-04-19 22:03:16 +02:00
rwlock5.c New upstream version 18.0.1+dfsg1 2017-04-19 22:03:16 +02:00
rwlock5_t.c New upstream version 18.0.1+dfsg1 2017-04-19 22:03:16 +02:00
rwlock6.c New upstream version 18.0.1+dfsg1 2017-04-19 22:03:16 +02:00
rwlock6_t.c New upstream version 18.0.1+dfsg1 2017-04-19 22:03:16 +02:00
rwlock6_t2.c New upstream version 18.0.1+dfsg1 2017-04-19 22:03:16 +02:00
rwlock7.c New upstream version 18.0.1+dfsg1 2017-04-19 22:03:16 +02:00
rwlock8.c New upstream version 18.0.1+dfsg1 2017-04-19 22:03:16 +02:00
self1.c New upstream version 18.0.1+dfsg1 2017-04-19 22:03:16 +02:00
self2.c New upstream version 18.0.1+dfsg1 2017-04-19 22:03:16 +02:00
semaphore1.c New upstream version 18.0.1+dfsg1 2017-04-19 22:03:16 +02:00
semaphore2.c New upstream version 18.0.1+dfsg1 2017-04-19 22:03:16 +02:00
semaphore3.c New upstream version 18.0.1+dfsg1 2017-04-19 22:03:16 +02:00
semaphore4.c New upstream version 18.0.1+dfsg1 2017-04-19 22:03:16 +02:00
semaphore4t.c New upstream version 18.0.1+dfsg1 2017-04-19 22:03:16 +02:00
semaphore5.c New upstream version 18.0.1+dfsg1 2017-04-19 22:03:16 +02:00
sequence1.c New upstream version 18.0.1+dfsg1 2017-04-19 22:03:16 +02:00
sizes.c New upstream version 18.0.1+dfsg1 2017-04-19 22:03:16 +02:00
SIZES.GC New upstream version 18.0.1+dfsg1 2017-04-19 22:03:16 +02:00
SIZES.GCE New upstream version 18.0.1+dfsg1 2017-04-19 22:03:16 +02:00
SIZES.VC New upstream version 18.0.1+dfsg1 2017-04-19 22:03:16 +02:00
SIZES.VCE New upstream version 18.0.1+dfsg1 2017-04-19 22:03:16 +02:00
SIZES.VSE New upstream version 18.0.1+dfsg1 2017-04-19 22:03:16 +02:00
spin1.c New upstream version 18.0.1+dfsg1 2017-04-19 22:03:16 +02:00
spin2.c New upstream version 18.0.1+dfsg1 2017-04-19 22:03:16 +02:00
spin3.c New upstream version 18.0.1+dfsg1 2017-04-19 22:03:16 +02:00
spin4.c New upstream version 18.0.1+dfsg1 2017-04-19 22:03:16 +02:00
stress1.c New upstream version 18.0.1+dfsg1 2017-04-19 22:03:16 +02:00
test.h New upstream version 18.0.1+dfsg1 2017-04-19 22:03:16 +02:00
tryentercs.c New upstream version 18.0.1+dfsg1 2017-04-19 22:03:16 +02:00
tryentercs2.c New upstream version 18.0.1+dfsg1 2017-04-19 22:03:16 +02:00
tsd1.c New upstream version 18.0.1+dfsg1 2017-04-19 22:03:16 +02:00
tsd2.c New upstream version 18.0.1+dfsg1 2017-04-19 22:03:16 +02:00
valid1.c New upstream version 18.0.1+dfsg1 2017-04-19 22:03:16 +02:00
valid2.c New upstream version 18.0.1+dfsg1 2017-04-19 22:03:16 +02:00
Wmakefile New upstream version 18.0.1+dfsg1 2017-04-19 22:03:16 +02:00

Running test cases in this directory
------------------------------------

These make scripts expect to be able to copy the dll, library
and header files from this directory's parent directory,
which should be the pthreads-win32 source directory.

MS VC nmake
-------------

Run the target corresponding to the DLL version being tested:
 
nmake clean VC
 
or:
 
nmake clean VS


GNU GCC make
------------

Run "make clean" and then "make". See the "Known bugs" section
in ..\README.


Writing Test Cases
------------------

Tests written in this test suite should behave in the following manner:

	* If a test fails, leave main() with a result of 1.

	* If a test succeeds, leave main() with a result of 0.

	* No diagnostic output should appear when the test is succeeding.
	  Diagnostic output may be emitted if something in the test
	  fails, to help determine the cause of the test failure.

Notes:
------

Many test cases use knowledge of implementation internals which are supposed
to be opaque to portable applications.