obs-studio/deps/w32-pthreads/tests
Momcilo Medic 8421051831 deps-w32-pthreads: Update FSF address
Closes jp9000/obs-studio#453
2015-07-11 09:10:27 -07:00
..
Bmakefile deps-w32-pthreads: Update FSF address 2015-07-11 09:10:27 -07:00
ChangeLog added a 'deps' directory and moved w32-pthreads into it 2013-10-28 06:20:37 -07:00
Debug.dsp added a 'deps' directory and moved w32-pthreads into it 2013-10-28 06:20:37 -07:00
Debug.dsw added a 'deps' directory and moved w32-pthreads into it 2013-10-28 06:20:37 -07:00
Debug.plg added a 'deps' directory and moved w32-pthreads into it 2013-10-28 06:20:37 -07:00
Debug.txt added a 'deps' directory and moved w32-pthreads into it 2013-10-28 06:20:37 -07:00
GNUmakefile deps-w32-pthreads: Update FSF address 2015-07-11 09:10:27 -07:00
Makefile deps-w32-pthreads: Update FSF address 2015-07-11 09:10:27 -07:00
README added a 'deps' directory and moved w32-pthreads into it 2013-10-28 06:20:37 -07:00
README.BENCHTESTS added a 'deps' directory and moved w32-pthreads into it 2013-10-28 06:20:37 -07:00
SIZES.GC added a 'deps' directory and moved w32-pthreads into it 2013-10-28 06:20:37 -07:00
SIZES.GCE added a 'deps' directory and moved w32-pthreads into it 2013-10-28 06:20:37 -07:00
SIZES.VC added a 'deps' directory and moved w32-pthreads into it 2013-10-28 06:20:37 -07:00
SIZES.VCE added a 'deps' directory and moved w32-pthreads into it 2013-10-28 06:20:37 -07:00
SIZES.VSE added a 'deps' directory and moved w32-pthreads into it 2013-10-28 06:20:37 -07:00
Wmakefile deps-w32-pthreads: Update FSF address 2015-07-11 09:10:27 -07:00
barrier1.c deps-w32-pthreads: Update FSF address 2015-07-11 09:10:27 -07:00
barrier2.c deps-w32-pthreads: Update FSF address 2015-07-11 09:10:27 -07:00
barrier3.c deps-w32-pthreads: Update FSF address 2015-07-11 09:10:27 -07:00
barrier4.c deps-w32-pthreads: Update FSF address 2015-07-11 09:10:27 -07:00
barrier5.c deps-w32-pthreads: Update FSF address 2015-07-11 09:10:27 -07:00
barrier6.c deps-w32-pthreads: Update FSF address 2015-07-11 09:10:27 -07:00
benchlib.c deps-w32-pthreads: Update FSF address 2015-07-11 09:10:27 -07:00
benchtest.h deps-w32-pthreads: Update FSF address 2015-07-11 09:10:27 -07:00
benchtest1.c deps-w32-pthreads: Update FSF address 2015-07-11 09:10:27 -07:00
benchtest2.c deps-w32-pthreads: Update FSF address 2015-07-11 09:10:27 -07:00
benchtest3.c deps-w32-pthreads: Update FSF address 2015-07-11 09:10:27 -07:00
benchtest4.c deps-w32-pthreads: Update FSF address 2015-07-11 09:10:27 -07:00
benchtest5.c deps-w32-pthreads: Update FSF address 2015-07-11 09:10:27 -07:00
cancel1.c deps-w32-pthreads: Update FSF address 2015-07-11 09:10:27 -07:00
cancel2.c deps-w32-pthreads: Update FSF address 2015-07-11 09:10:27 -07:00
cancel3.c deps-w32-pthreads: Update FSF address 2015-07-11 09:10:27 -07:00
cancel4.c deps-w32-pthreads: Update FSF address 2015-07-11 09:10:27 -07:00
cancel5.c deps-w32-pthreads: Update FSF address 2015-07-11 09:10:27 -07:00
cancel6a.c deps-w32-pthreads: Update FSF address 2015-07-11 09:10:27 -07:00
cancel6d.c deps-w32-pthreads: Update FSF address 2015-07-11 09:10:27 -07:00
cancel7.c deps-w32-pthreads: Update FSF address 2015-07-11 09:10:27 -07:00
cancel8.c deps-w32-pthreads: Update FSF address 2015-07-11 09:10:27 -07:00
cancel9.c deps-w32-pthreads: Update FSF address 2015-07-11 09:10:27 -07:00
cleanup0.c deps-w32-pthreads: Update FSF address 2015-07-11 09:10:27 -07:00
cleanup1.c deps-w32-pthreads: Update FSF address 2015-07-11 09:10:27 -07:00
cleanup2.c deps-w32-pthreads: Update FSF address 2015-07-11 09:10:27 -07:00
cleanup3.c deps-w32-pthreads: Update FSF address 2015-07-11 09:10:27 -07:00
condvar1.c deps-w32-pthreads: Update FSF address 2015-07-11 09:10:27 -07:00
condvar1_1.c deps-w32-pthreads: Update FSF address 2015-07-11 09:10:27 -07:00
condvar1_2.c deps-w32-pthreads: Update FSF address 2015-07-11 09:10:27 -07:00
condvar2.c deps-w32-pthreads: Update FSF address 2015-07-11 09:10:27 -07:00
condvar2_1.c deps-w32-pthreads: Update FSF address 2015-07-11 09:10:27 -07:00
condvar3.c deps-w32-pthreads: Update FSF address 2015-07-11 09:10:27 -07:00
condvar3_1.c deps-w32-pthreads: Update FSF address 2015-07-11 09:10:27 -07:00
condvar3_2.c deps-w32-pthreads: Update FSF address 2015-07-11 09:10:27 -07:00
condvar3_3.c deps-w32-pthreads: Update FSF address 2015-07-11 09:10:27 -07:00
condvar4.c deps-w32-pthreads: Update FSF address 2015-07-11 09:10:27 -07:00
condvar5.c deps-w32-pthreads: Update FSF address 2015-07-11 09:10:27 -07:00
condvar6.c deps-w32-pthreads: Update FSF address 2015-07-11 09:10:27 -07:00
condvar7.c deps-w32-pthreads: Update FSF address 2015-07-11 09:10:27 -07:00
condvar8.c deps-w32-pthreads: Update FSF address 2015-07-11 09:10:27 -07:00
condvar9.c deps-w32-pthreads: Update FSF address 2015-07-11 09:10:27 -07:00
context1.c deps-w32-pthreads: Update FSF address 2015-07-11 09:10:27 -07:00
count1.c deps-w32-pthreads: Update FSF address 2015-07-11 09:10:27 -07:00
create1.c deps-w32-pthreads: Update FSF address 2015-07-11 09:10:27 -07:00
create2.c deps-w32-pthreads: Update FSF address 2015-07-11 09:10:27 -07:00
create3.c deps-w32-pthreads: Update FSF address 2015-07-11 09:10:27 -07:00
delay1.c deps-w32-pthreads: Update FSF address 2015-07-11 09:10:27 -07:00
delay2.c deps-w32-pthreads: Update FSF address 2015-07-11 09:10:27 -07:00
detach1.c deps-w32-pthreads: Update FSF address 2015-07-11 09:10:27 -07:00
equal1.c deps-w32-pthreads: Update FSF address 2015-07-11 09:10:27 -07:00
errno1.c deps-w32-pthreads: Update FSF address 2015-07-11 09:10:27 -07:00
exception1.c deps-w32-pthreads: Update FSF address 2015-07-11 09:10:27 -07:00
exception2.c deps-w32-pthreads: Update FSF address 2015-07-11 09:10:27 -07:00
exception3.c deps-w32-pthreads: Update FSF address 2015-07-11 09:10:27 -07:00
exit1.c deps-w32-pthreads: Update FSF address 2015-07-11 09:10:27 -07:00
exit2.c deps-w32-pthreads: Update FSF address 2015-07-11 09:10:27 -07:00
exit3.c deps-w32-pthreads: Update FSF address 2015-07-11 09:10:27 -07:00
exit4.c deps-w32-pthreads: Update FSF address 2015-07-11 09:10:27 -07:00
exit5.c deps-w32-pthreads: Update FSF address 2015-07-11 09:10:27 -07:00
eyal1.c deps-w32-pthreads: Update FSF address 2015-07-11 09:10:27 -07:00
inherit1.c deps-w32-pthreads: Update FSF address 2015-07-11 09:10:27 -07:00
join0.c deps-w32-pthreads: Update FSF address 2015-07-11 09:10:27 -07:00
join1.c deps-w32-pthreads: Update FSF address 2015-07-11 09:10:27 -07:00
join2.c deps-w32-pthreads: Update FSF address 2015-07-11 09:10:27 -07:00
join3.c deps-w32-pthreads: Update FSF address 2015-07-11 09:10:27 -07:00
kill1.c deps-w32-pthreads: Update FSF address 2015-07-11 09:10:27 -07:00
loadfree.c deps-w32-pthreads: Update FSF address 2015-07-11 09:10:27 -07:00
mutex1.c deps-w32-pthreads: Update FSF address 2015-07-11 09:10:27 -07:00
mutex1e.c deps-w32-pthreads: Update FSF address 2015-07-11 09:10:27 -07:00
mutex1n.c deps-w32-pthreads: Update FSF address 2015-07-11 09:10:27 -07:00
mutex1r.c deps-w32-pthreads: Update FSF address 2015-07-11 09:10:27 -07:00
mutex2.c deps-w32-pthreads: Update FSF address 2015-07-11 09:10:27 -07:00
mutex2e.c deps-w32-pthreads: Update FSF address 2015-07-11 09:10:27 -07:00
mutex2r.c deps-w32-pthreads: Update FSF address 2015-07-11 09:10:27 -07:00
mutex3.c deps-w32-pthreads: Update FSF address 2015-07-11 09:10:27 -07:00
mutex3e.c deps-w32-pthreads: Update FSF address 2015-07-11 09:10:27 -07:00
mutex3r.c deps-w32-pthreads: Update FSF address 2015-07-11 09:10:27 -07:00
mutex4.c deps-w32-pthreads: Update FSF address 2015-07-11 09:10:27 -07:00
mutex5.c deps-w32-pthreads: Update FSF address 2015-07-11 09:10:27 -07:00
mutex6.c deps-w32-pthreads: Update FSF address 2015-07-11 09:10:27 -07:00
mutex6e.c deps-w32-pthreads: Update FSF address 2015-07-11 09:10:27 -07:00
mutex6es.c deps-w32-pthreads: Update FSF address 2015-07-11 09:10:27 -07:00
mutex6n.c deps-w32-pthreads: Update FSF address 2015-07-11 09:10:27 -07:00
mutex6r.c deps-w32-pthreads: Update FSF address 2015-07-11 09:10:27 -07:00
mutex6rs.c deps-w32-pthreads: Update FSF address 2015-07-11 09:10:27 -07:00
mutex6s.c deps-w32-pthreads: Update FSF address 2015-07-11 09:10:27 -07:00
mutex7.c deps-w32-pthreads: Update FSF address 2015-07-11 09:10:27 -07:00
mutex7e.c deps-w32-pthreads: Update FSF address 2015-07-11 09:10:27 -07:00
mutex7n.c deps-w32-pthreads: Update FSF address 2015-07-11 09:10:27 -07:00
mutex7r.c deps-w32-pthreads: Update FSF address 2015-07-11 09:10:27 -07:00
mutex8.c deps-w32-pthreads: Update FSF address 2015-07-11 09:10:27 -07:00
mutex8e.c deps-w32-pthreads: Update FSF address 2015-07-11 09:10:27 -07:00
mutex8n.c deps-w32-pthreads: Update FSF address 2015-07-11 09:10:27 -07:00
mutex8r.c deps-w32-pthreads: Update FSF address 2015-07-11 09:10:27 -07:00
once1.c deps-w32-pthreads: Update FSF address 2015-07-11 09:10:27 -07:00
once2.c deps-w32-pthreads: Update FSF address 2015-07-11 09:10:27 -07:00
once3.c deps-w32-pthreads: Update FSF address 2015-07-11 09:10:27 -07:00
once4.c deps-w32-pthreads: Update FSF address 2015-07-11 09:10:27 -07:00
openmp1.c added a 'deps' directory and moved w32-pthreads into it 2013-10-28 06:20:37 -07:00
priority1.c deps-w32-pthreads: Update FSF address 2015-07-11 09:10:27 -07:00
priority2.c deps-w32-pthreads: Update FSF address 2015-07-11 09:10:27 -07:00
reuse1.c deps-w32-pthreads: Update FSF address 2015-07-11 09:10:27 -07:00
reuse2.c deps-w32-pthreads: Update FSF address 2015-07-11 09:10:27 -07:00
robust1.c deps-w32-pthreads: Update FSF address 2015-07-11 09:10:27 -07:00
robust2.c deps-w32-pthreads: Update FSF address 2015-07-11 09:10:27 -07:00
robust3.c deps-w32-pthreads: Update FSF address 2015-07-11 09:10:27 -07:00
robust4.c deps-w32-pthreads: Update FSF address 2015-07-11 09:10:27 -07:00
robust5.c deps-w32-pthreads: Update FSF address 2015-07-11 09:10:27 -07:00
rwlock1.c deps-w32-pthreads: Update FSF address 2015-07-11 09:10:27 -07:00
rwlock2.c deps-w32-pthreads: Update FSF address 2015-07-11 09:10:27 -07:00
rwlock2_t.c deps-w32-pthreads: Update FSF address 2015-07-11 09:10:27 -07:00
rwlock3.c deps-w32-pthreads: Update FSF address 2015-07-11 09:10:27 -07:00
rwlock3_t.c deps-w32-pthreads: Update FSF address 2015-07-11 09:10:27 -07:00
rwlock4.c deps-w32-pthreads: Update FSF address 2015-07-11 09:10:27 -07:00
rwlock4_t.c deps-w32-pthreads: Update FSF address 2015-07-11 09:10:27 -07:00
rwlock5.c deps-w32-pthreads: Update FSF address 2015-07-11 09:10:27 -07:00
rwlock5_t.c deps-w32-pthreads: Update FSF address 2015-07-11 09:10:27 -07:00
rwlock6.c deps-w32-pthreads: Update FSF address 2015-07-11 09:10:27 -07:00
rwlock6_t.c deps-w32-pthreads: Update FSF address 2015-07-11 09:10:27 -07:00
rwlock6_t2.c deps-w32-pthreads: Update FSF address 2015-07-11 09:10:27 -07:00
rwlock7.c added a 'deps' directory and moved w32-pthreads into it 2013-10-28 06:20:37 -07:00
rwlock8.c added a 'deps' directory and moved w32-pthreads into it 2013-10-28 06:20:37 -07:00
self1.c deps-w32-pthreads: Update FSF address 2015-07-11 09:10:27 -07:00
self2.c deps-w32-pthreads: Update FSF address 2015-07-11 09:10:27 -07:00
semaphore1.c deps-w32-pthreads: Update FSF address 2015-07-11 09:10:27 -07:00
semaphore2.c deps-w32-pthreads: Update FSF address 2015-07-11 09:10:27 -07:00
semaphore3.c deps-w32-pthreads: Update FSF address 2015-07-11 09:10:27 -07:00
semaphore4.c deps-w32-pthreads: Update FSF address 2015-07-11 09:10:27 -07:00
semaphore4t.c deps-w32-pthreads: Update FSF address 2015-07-11 09:10:27 -07:00
semaphore5.c deps-w32-pthreads: Update FSF address 2015-07-11 09:10:27 -07:00
sequence1.c deps-w32-pthreads: Update FSF address 2015-07-11 09:10:27 -07:00
sizes.c added a 'deps' directory and moved w32-pthreads into it 2013-10-28 06:20:37 -07:00
spin1.c deps-w32-pthreads: Update FSF address 2015-07-11 09:10:27 -07:00
spin2.c deps-w32-pthreads: Update FSF address 2015-07-11 09:10:27 -07:00
spin3.c deps-w32-pthreads: Update FSF address 2015-07-11 09:10:27 -07:00
spin4.c deps-w32-pthreads: Update FSF address 2015-07-11 09:10:27 -07:00
stress1.c deps-w32-pthreads: Update FSF address 2015-07-11 09:10:27 -07:00
test.h deps-w32-pthreads: Update FSF address 2015-07-11 09:10:27 -07:00
tryentercs.c deps-w32-pthreads: Update FSF address 2015-07-11 09:10:27 -07:00
tryentercs2.c deps-w32-pthreads: Update FSF address 2015-07-11 09:10:27 -07:00
tsd1.c deps-w32-pthreads: Update FSF address 2015-07-11 09:10:27 -07:00
tsd2.c deps-w32-pthreads: Update FSF address 2015-07-11 09:10:27 -07:00
valid1.c deps-w32-pthreads: Update FSF address 2015-07-11 09:10:27 -07:00
valid2.c deps-w32-pthreads: Update FSF address 2015-07-11 09:10:27 -07: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.