Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
..
Failed to load latest commit information.
Bmakefile
ChangeLog
Debug.2005.vcproj
Debug.2008.vcproj
Debug.2010.vcxproj
Debug.2010.vcxproj.filters
Debug.2012.vcxproj
Debug.2012.vcxproj.filters
Debug.2013.vcxproj
Debug.2013.vcxproj.filters
Debug.2015.vcxproj
Debug.2015.vcxproj.filters
Debug.dsp
Debug.dsw
Debug.plg
Debug.txt
GNUmakefile
Makefile
README
README.BENCHTESTS
SIZES.GC
SIZES.GCE
SIZES.MSVC2005.x86
SIZES.VC
SIZES.VCE
SIZES.VSE
Wmakefile
affinity1.c
affinity2.c
affinity3.c
affinity4.c adding the affinity tests (and other missing tests) to the monolithic… Mar 18, 2015
affinity5.c
barrier1.c
barrier2.c Merge remote-tracking branch 'remotes/sf-pthread4w/master': merged sf… Oct 24, 2012
barrier3.c
barrier4.c
barrier5.c
barrier6.c
benchlib.c
benchtest.h
benchtest1.c
benchtest2.c
benchtest3.c
benchtest4.c
benchtest5.c
cancel1.c
cancel2.c
cancel3.c Merge remote-tracking branch 'remotes/sf-pthread4w/master': merged sf… Oct 24, 2012
cancel4.c
cancel5.c
cancel6a.c
cancel6d.c
cancel7.c
cancel8.c
cancel9.c
cleanup0.c
cleanup1.c
cleanup2.c
cleanup3.c Merge remote-tracking branch 'remotes/sf-pthread4w/master': merged sf… Oct 24, 2012
common.mk
condvar1.c
condvar1_1.c
condvar1_2.c
condvar2.c
condvar2_1.c
condvar3.c
condvar3_1.c
condvar3_2.c
condvar3_3.c
condvar4.c
condvar5.c
condvar6.c
condvar7.c
condvar8.c
condvar9.c
context1.c
context2.c
count1.c
create1.c
create2.c
create3.c
create3a.c
delay1.c Merge remote-tracking branch 'remotes/sf-pthread4w/master': merged sf… Oct 24, 2012
delay2.c
detach1.c
equal1.c
errno1.c
exception1.c
exception2.c
exception3.c
exception3_0.c
exit1.c
exit2.c
exit3.c
exit4.c
exit5.c
eyal1.c
inherit1.c
join0.c
join1.c
join2.c
join3.c
join4.c
kill1.c
loadfree.c
mutex1.c
mutex1e.c
mutex1n.c
mutex1r.c
mutex2.c
mutex2e.c
mutex2r.c
mutex3.c
mutex3e.c
mutex3r.c
mutex4.c
mutex5.c
mutex6.c
mutex6e.c
mutex6es.c
mutex6n.c
mutex6r.c
mutex6rs.c
mutex6s.c
mutex7.c
mutex7e.c
mutex7n.c
mutex7r.c
mutex8.c Merge branch 'merge-forward-based-on-CVS' Sep 29, 2012
mutex8e.c
mutex8n.c
mutex8r.c
once1.c
once2.c
once3.c
once4.c
openmp1.c
priority1.c
priority2.c
reuse1.c
reuse2.c
robust1.c
robust2.c
robust3.c
robust4.c
robust5.c
runorder.mk
rwlock1.c
rwlock2.c
rwlock2_t.c
rwlock3.c
rwlock3_t.c
rwlock4.c
rwlock4_t.c
rwlock5.c
rwlock5_t.c
rwlock6.c
rwlock6_t.c
rwlock6_t2.c
rwlock7.c
rwlock8.c
self1.c
self2.c
semaphore1.c
semaphore2.c
semaphore3.c
semaphore4.c
semaphore4t.c
semaphore5.c
sequence1.c Merge remote-tracking branch 'remotes/sf-pthread4w/master': merged sf… Oct 24, 2012
sequence2.c
sizes.c
spin1.c
spin2.c
spin3.c
spin4.c
stress1.c
test.h
tryentercs.c Merge remote-tracking branch 'remotes/sf-pthread4w/master': merged sf… Oct 24, 2012
tryentercs2.c
tsd1.c
tsd2.c
valid1.c
valid2.c
wrapper4tests_1.c

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.