pcsx2/3rdparty/pthreads4w/tests
Miguel A. Colón Vélez 70aba9d3ff Update pthreads to 2.9.1
- It adds support for x64.
2015-08-25 09:00:12 -04:00
..
Bmakefile Update pthreads to 2.9.1 2015-08-25 09:00:12 -04:00
ChangeLog Update pthreads to 2.9.1 2015-08-25 09:00:12 -04:00
Debug.plg Update pthreads to 2.9.1 2015-08-25 09:00:12 -04:00
GNUmakefile Update pthreads to 2.9.1 2015-08-25 09:00:12 -04:00
Makefile Update pthreads to 2.9.1 2015-08-25 09:00:12 -04:00
README Update pthreads to 2.9.1 2015-08-25 09:00:12 -04:00
README.BENCHTESTS Update pthreads to 2.9.1 2015-08-25 09:00:12 -04:00
SIZES.GC Update pthreads to 2.9.1 2015-08-25 09:00:12 -04:00
SIZES.GCE Update pthreads to 2.9.1 2015-08-25 09:00:12 -04:00
SIZES.VC Update pthreads to 2.9.1 2015-08-25 09:00:12 -04:00
SIZES.VCE Update pthreads to 2.9.1 2015-08-25 09:00:12 -04:00
SIZES.VSE Update pthreads to 2.9.1 2015-08-25 09:00:12 -04:00
Wmakefile Update pthreads to 2.9.1 2015-08-25 09:00:12 -04:00
barrier1.c Update pthreads to 2.9.1 2015-08-25 09:00:12 -04:00
barrier2.c Update pthreads to 2.9.1 2015-08-25 09:00:12 -04:00
barrier3.c Update pthreads to 2.9.1 2015-08-25 09:00:12 -04:00
barrier4.c Update pthreads to 2.9.1 2015-08-25 09:00:12 -04:00
barrier5.c Update pthreads to 2.9.1 2015-08-25 09:00:12 -04:00
barrier6.c Update pthreads to 2.9.1 2015-08-25 09:00:12 -04:00
benchlib.c Update pthreads to 2.9.1 2015-08-25 09:00:12 -04:00
benchtest.h Update pthreads to 2.9.1 2015-08-25 09:00:12 -04:00
benchtest1.c Update pthreads to 2.9.1 2015-08-25 09:00:12 -04:00
benchtest2.c Update pthreads to 2.9.1 2015-08-25 09:00:12 -04:00
benchtest3.c Update pthreads to 2.9.1 2015-08-25 09:00:12 -04:00
benchtest4.c Update pthreads to 2.9.1 2015-08-25 09:00:12 -04:00
benchtest5.c Update pthreads to 2.9.1 2015-08-25 09:00:12 -04:00
cancel1.c Update pthreads to 2.9.1 2015-08-25 09:00:12 -04:00
cancel2.c Update pthreads to 2.9.1 2015-08-25 09:00:12 -04:00
cancel3.c Update pthreads to 2.9.1 2015-08-25 09:00:12 -04:00
cancel4.c Update pthreads to 2.9.1 2015-08-25 09:00:12 -04:00
cancel5.c Update pthreads to 2.9.1 2015-08-25 09:00:12 -04:00
cancel6a.c Update pthreads to 2.9.1 2015-08-25 09:00:12 -04:00
cancel6d.c Update pthreads to 2.9.1 2015-08-25 09:00:12 -04:00
cancel7.c Update pthreads to 2.9.1 2015-08-25 09:00:12 -04:00
cancel8.c Update pthreads to 2.9.1 2015-08-25 09:00:12 -04:00
cancel9.c Update pthreads to 2.9.1 2015-08-25 09:00:12 -04:00
cleanup0.c Update pthreads to 2.9.1 2015-08-25 09:00:12 -04:00
cleanup1.c Update pthreads to 2.9.1 2015-08-25 09:00:12 -04:00
cleanup2.c Update pthreads to 2.9.1 2015-08-25 09:00:12 -04:00
cleanup3.c Update pthreads to 2.9.1 2015-08-25 09:00:12 -04:00
condvar1.c Update pthreads to 2.9.1 2015-08-25 09:00:12 -04:00
condvar1_1.c Update pthreads to 2.9.1 2015-08-25 09:00:12 -04:00
condvar1_2.c Update pthreads to 2.9.1 2015-08-25 09:00:12 -04:00
condvar2.c Update pthreads to 2.9.1 2015-08-25 09:00:12 -04:00
condvar2_1.c Update pthreads to 2.9.1 2015-08-25 09:00:12 -04:00
condvar3.c Update pthreads to 2.9.1 2015-08-25 09:00:12 -04:00
condvar3_1.c Update pthreads to 2.9.1 2015-08-25 09:00:12 -04:00
condvar3_2.c Update pthreads to 2.9.1 2015-08-25 09:00:12 -04:00
condvar3_3.c Update pthreads to 2.9.1 2015-08-25 09:00:12 -04:00
condvar4.c Update pthreads to 2.9.1 2015-08-25 09:00:12 -04:00
condvar5.c Update pthreads to 2.9.1 2015-08-25 09:00:12 -04:00
condvar6.c Update pthreads to 2.9.1 2015-08-25 09:00:12 -04:00
condvar7.c Update pthreads to 2.9.1 2015-08-25 09:00:12 -04:00
condvar8.c Update pthreads to 2.9.1 2015-08-25 09:00:12 -04:00
condvar9.c Update pthreads to 2.9.1 2015-08-25 09:00:12 -04:00
context1.c Update pthreads to 2.9.1 2015-08-25 09:00:12 -04:00
count1.c Update pthreads to 2.9.1 2015-08-25 09:00:12 -04:00
create1.c Update pthreads to 2.9.1 2015-08-25 09:00:12 -04:00
create2.c Update pthreads to 2.9.1 2015-08-25 09:00:12 -04:00
create3.c Update pthreads to 2.9.1 2015-08-25 09:00:12 -04:00
delay1.c Update pthreads to 2.9.1 2015-08-25 09:00:12 -04:00
delay2.c Update pthreads to 2.9.1 2015-08-25 09:00:12 -04:00
detach1.c Update pthreads to 2.9.1 2015-08-25 09:00:12 -04:00
equal1.c Update pthreads to 2.9.1 2015-08-25 09:00:12 -04:00
errno1.c Update pthreads to 2.9.1 2015-08-25 09:00:12 -04:00
exception1.c Update pthreads to 2.9.1 2015-08-25 09:00:12 -04:00
exception2.c Update pthreads to 2.9.1 2015-08-25 09:00:12 -04:00
exception3.c Update pthreads to 2.9.1 2015-08-25 09:00:12 -04:00
exit1.c Update pthreads to 2.9.1 2015-08-25 09:00:12 -04:00
exit2.c Update pthreads to 2.9.1 2015-08-25 09:00:12 -04:00
exit3.c Update pthreads to 2.9.1 2015-08-25 09:00:12 -04:00
exit4.c Update pthreads to 2.9.1 2015-08-25 09:00:12 -04:00
exit5.c Update pthreads to 2.9.1 2015-08-25 09:00:12 -04:00
eyal1.c Update pthreads to 2.9.1 2015-08-25 09:00:12 -04:00
inherit1.c Update pthreads to 2.9.1 2015-08-25 09:00:12 -04:00
join0.c Update pthreads to 2.9.1 2015-08-25 09:00:12 -04:00
join1.c Update pthreads to 2.9.1 2015-08-25 09:00:12 -04:00
join2.c Update pthreads to 2.9.1 2015-08-25 09:00:12 -04:00
join3.c Update pthreads to 2.9.1 2015-08-25 09:00:12 -04:00
kill1.c Update pthreads to 2.9.1 2015-08-25 09:00:12 -04:00
loadfree.c Update pthreads to 2.9.1 2015-08-25 09:00:12 -04:00
mutex1.c Update pthreads to 2.9.1 2015-08-25 09:00:12 -04:00
mutex1e.c Update pthreads to 2.9.1 2015-08-25 09:00:12 -04:00
mutex1n.c Update pthreads to 2.9.1 2015-08-25 09:00:12 -04:00
mutex1r.c Update pthreads to 2.9.1 2015-08-25 09:00:12 -04:00
mutex2.c Update pthreads to 2.9.1 2015-08-25 09:00:12 -04:00
mutex2e.c Update pthreads to 2.9.1 2015-08-25 09:00:12 -04:00
mutex2r.c Update pthreads to 2.9.1 2015-08-25 09:00:12 -04:00
mutex3.c Update pthreads to 2.9.1 2015-08-25 09:00:12 -04:00
mutex3e.c Update pthreads to 2.9.1 2015-08-25 09:00:12 -04:00
mutex3r.c Update pthreads to 2.9.1 2015-08-25 09:00:12 -04:00
mutex4.c Update pthreads to 2.9.1 2015-08-25 09:00:12 -04:00
mutex5.c Update pthreads to 2.9.1 2015-08-25 09:00:12 -04:00
mutex6.c Update pthreads to 2.9.1 2015-08-25 09:00:12 -04:00
mutex6e.c Update pthreads to 2.9.1 2015-08-25 09:00:12 -04:00
mutex6es.c Update pthreads to 2.9.1 2015-08-25 09:00:12 -04:00
mutex6n.c Update pthreads to 2.9.1 2015-08-25 09:00:12 -04:00
mutex6r.c Update pthreads to 2.9.1 2015-08-25 09:00:12 -04:00
mutex6rs.c Update pthreads to 2.9.1 2015-08-25 09:00:12 -04:00
mutex6s.c Update pthreads to 2.9.1 2015-08-25 09:00:12 -04:00
mutex7.c Update pthreads to 2.9.1 2015-08-25 09:00:12 -04:00
mutex7e.c Update pthreads to 2.9.1 2015-08-25 09:00:12 -04:00
mutex7n.c Update pthreads to 2.9.1 2015-08-25 09:00:12 -04:00
mutex7r.c Update pthreads to 2.9.1 2015-08-25 09:00:12 -04:00
mutex8.c Update pthreads to 2.9.1 2015-08-25 09:00:12 -04:00
mutex8e.c Update pthreads to 2.9.1 2015-08-25 09:00:12 -04:00
mutex8n.c Update pthreads to 2.9.1 2015-08-25 09:00:12 -04:00
mutex8r.c Update pthreads to 2.9.1 2015-08-25 09:00:12 -04:00
once1.c Update pthreads to 2.9.1 2015-08-25 09:00:12 -04:00
once2.c Update pthreads to 2.9.1 2015-08-25 09:00:12 -04:00
once3.c Update pthreads to 2.9.1 2015-08-25 09:00:12 -04:00
once4.c Update pthreads to 2.9.1 2015-08-25 09:00:12 -04:00
openmp1.c Update pthreads to 2.9.1 2015-08-25 09:00:12 -04:00
priority1.c Update pthreads to 2.9.1 2015-08-25 09:00:12 -04:00
priority2.c Update pthreads to 2.9.1 2015-08-25 09:00:12 -04:00
reuse1.c Update pthreads to 2.9.1 2015-08-25 09:00:12 -04:00
reuse2.c Update pthreads to 2.9.1 2015-08-25 09:00:12 -04:00
robust1.c Update pthreads to 2.9.1 2015-08-25 09:00:12 -04:00
robust2.c Update pthreads to 2.9.1 2015-08-25 09:00:12 -04:00
robust3.c Update pthreads to 2.9.1 2015-08-25 09:00:12 -04:00
robust4.c Update pthreads to 2.9.1 2015-08-25 09:00:12 -04:00
robust5.c Update pthreads to 2.9.1 2015-08-25 09:00:12 -04:00
rwlock1.c Update pthreads to 2.9.1 2015-08-25 09:00:12 -04:00
rwlock2.c Update pthreads to 2.9.1 2015-08-25 09:00:12 -04:00
rwlock2_t.c Update pthreads to 2.9.1 2015-08-25 09:00:12 -04:00
rwlock3.c Update pthreads to 2.9.1 2015-08-25 09:00:12 -04:00
rwlock3_t.c Update pthreads to 2.9.1 2015-08-25 09:00:12 -04:00
rwlock4.c Update pthreads to 2.9.1 2015-08-25 09:00:12 -04:00
rwlock4_t.c Update pthreads to 2.9.1 2015-08-25 09:00:12 -04:00
rwlock5.c Update pthreads to 2.9.1 2015-08-25 09:00:12 -04:00
rwlock5_t.c Update pthreads to 2.9.1 2015-08-25 09:00:12 -04:00
rwlock6.c Update pthreads to 2.9.1 2015-08-25 09:00:12 -04:00
rwlock6_t.c Update pthreads to 2.9.1 2015-08-25 09:00:12 -04:00
rwlock6_t2.c Update pthreads to 2.9.1 2015-08-25 09:00:12 -04:00
rwlock7.c Update pthreads to 2.9.1 2015-08-25 09:00:12 -04:00
rwlock8.c Update pthreads to 2.9.1 2015-08-25 09:00:12 -04:00
self1.c Update pthreads to 2.9.1 2015-08-25 09:00:12 -04:00
self2.c Update pthreads to 2.9.1 2015-08-25 09:00:12 -04:00
semaphore1.c Update pthreads to 2.9.1 2015-08-25 09:00:12 -04:00
semaphore2.c Update pthreads to 2.9.1 2015-08-25 09:00:12 -04:00
semaphore3.c Update pthreads to 2.9.1 2015-08-25 09:00:12 -04:00
semaphore4.c Update pthreads to 2.9.1 2015-08-25 09:00:12 -04:00
semaphore4t.c Update pthreads to 2.9.1 2015-08-25 09:00:12 -04:00
semaphore5.c Update pthreads to 2.9.1 2015-08-25 09:00:12 -04:00
sequence1.c Update pthreads to 2.9.1 2015-08-25 09:00:12 -04:00
sizes.c Update pthreads to 2.9.1 2015-08-25 09:00:12 -04:00
spin1.c Update pthreads to 2.9.1 2015-08-25 09:00:12 -04:00
spin2.c Update pthreads to 2.9.1 2015-08-25 09:00:12 -04:00
spin3.c Update pthreads to 2.9.1 2015-08-25 09:00:12 -04:00
spin4.c Update pthreads to 2.9.1 2015-08-25 09:00:12 -04:00
stress1.c Update pthreads to 2.9.1 2015-08-25 09:00:12 -04:00
test.h Update pthreads to 2.9.1 2015-08-25 09:00:12 -04:00
tryentercs.c Update pthreads to 2.9.1 2015-08-25 09:00:12 -04:00
tryentercs2.c Update pthreads to 2.9.1 2015-08-25 09:00:12 -04:00
tsd1.c Update pthreads to 2.9.1 2015-08-25 09:00:12 -04:00
tsd2.c Update pthreads to 2.9.1 2015-08-25 09:00:12 -04:00
valid1.c Update pthreads to 2.9.1 2015-08-25 09:00:12 -04:00
valid2.c Update pthreads to 2.9.1 2015-08-25 09:00:12 -04:00

README

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.