Tree [ffc10b] master / tests /
 History

HTTPS access


File Date Author Commit
 Bmakefile 2011-07-03 rpj rpj [756af6] See the ChanegLog
 ChangeLog 2011-07-03 rpj rpj [756af6] See the ChanegLog
 Debug.dsp 2005-05-08 rpj rpj [7395b1] ''
 Debug.dsw 2004-11-03 rpj rpj [ec8290] Mutex, semaphore, thread ID, test suite changes...
 Debug.plg 2005-05-08 rpj rpj [7395b1] ''
 Debug.txt 2004-11-03 rpj rpj [ec8290] Mutex, semaphore, thread ID, test suite changes...
 GNUmakefile 2011-07-03 rpj rpj [756af6] See the ChanegLog
 Makefile 2011-07-03 rpj rpj [86875e] Minor reworking
 README 2004-11-22 rpj rpj [91f42a] Copyright update
 README.BENCHTESTS 2005-05-01 rpj rpj [c2c184] ''
 SIZES.GC 2011-05-06 rpj rpj [2fe8ab] Robust mutexes merged from devel branch
 SIZES.GCE 2011-05-30 rpj rpj [26ed1e] Compiler directive cleanups
 SIZES.VC 2011-05-06 rpj rpj [2fe8ab] Robust mutexes merged from devel branch
 SIZES.VCE 2011-05-30 rpj rpj [26ed1e] Compiler directive cleanups
 SIZES.VSE 2011-05-06 rpj rpj [2fe8ab] Robust mutexes merged from devel branch
 Wmakefile 2011-07-03 rpj rpj [756af6] See the ChanegLog
 barrier1.c 2005-01-01 rpj rpj [7eb9d4] Copyright year updated
 barrier2.c 2005-01-01 rpj rpj [7eb9d4] Copyright year updated
 barrier3.c 2011-03-06 rpj rpj [a39dab] More 64 bit cast fixups
 barrier4.c 2005-04-06 rpj rpj [baacf6] ''
 barrier5.c 2011-03-06 rpj rpj [a39dab] More 64 bit cast fixups
 barrier6.c 2010-06-22 rpj rpj [539bf1] New test
 benchlib.c 2005-01-01 rpj rpj [7eb9d4] Copyright year updated
 benchtest.h 2005-01-01 rpj rpj [7eb9d4] Copyright year updated
 benchtest1.c 2011-07-02 rpj rpj [e51657] See the ChangeLogs
 benchtest2.c 2011-07-02 rpj rpj [e51657] See the ChangeLogs
 benchtest3.c 2011-07-02 rpj rpj [e51657] See the ChangeLogs
 benchtest4.c 2011-07-02 rpj rpj [e51657] See the ChangeLogs
 benchtest5.c 2011-07-02 rpj rpj [e51657] See the ChangeLogs
 cancel1.c 2011-07-03 rpj rpj [756af6] See the ChanegLog
 cancel2.c 2011-07-03 rpj rpj [756af6] See the ChanegLog
 cancel3.c 2011-07-03 rpj rpj [756af6] See the ChanegLog
 cancel4.c 2011-03-06 rpj rpj [1183e5] 64 bit compatibility (mingw64)
 cancel5.c 2011-03-06 rpj rpj [1183e5] 64 bit compatibility (mingw64)
 cancel6a.c 2011-03-06 rpj rpj [1183e5] 64 bit compatibility (mingw64)
 cancel6d.c 2011-05-06 rpj rpj [2fe8ab] Robust mutexes merged from devel branch
 cancel7.c 2011-03-06 rpj rpj [1183e5] 64 bit compatibility (mingw64)
 cancel8.c 2011-03-06 rpj rpj [1183e5] 64 bit compatibility (mingw64)
 cancel9.c 2011-03-06 rpj rpj [1183e5] 64 bit compatibility (mingw64)
 cleanup0.c 2011-03-06 rpj rpj [a39dab] More 64 bit cast fixups
 cleanup1.c 2011-03-06 rpj rpj [a39dab] More 64 bit cast fixups
 cleanup2.c 2011-03-06 rpj rpj [a39dab] More 64 bit cast fixups
 cleanup3.c 2011-03-06 rpj rpj [a39dab] More 64 bit cast fixups
 condvar1.c 2005-01-01 rpj rpj [7eb9d4] Copyright year updated
 condvar1_1.c 2005-01-01 rpj rpj [7eb9d4] Copyright year updated
 condvar1_2.c 2011-03-06 rpj rpj [a39dab] More 64 bit cast fixups
 condvar2.c 2011-07-02 rpj rpj [e51657] See the ChangeLogs
 condvar2_1.c 2011-07-02 rpj rpj [e51657] See the ChangeLogs
 condvar3.c 2011-07-02 rpj rpj [e51657] See the ChangeLogs
 condvar3_1.c 2011-07-02 rpj rpj [e51657] See the ChangeLogs
 condvar3_2.c 2011-07-02 rpj rpj [e51657] See the ChangeLogs
 condvar3_3.c 2011-07-02 rpj rpj [e51657] See the ChangeLogs
 condvar4.c 2011-07-02 rpj rpj [e51657] See the ChangeLogs
 condvar5.c 2011-07-02 rpj rpj [e51657] See the ChangeLogs
 condvar6.c 2011-07-02 rpj rpj [e51657] See the ChangeLogs
 condvar7.c 2011-07-02 rpj rpj [e51657] See the ChangeLogs
 condvar8.c 2011-07-02 rpj rpj [e51657] See the ChangeLogs
 condvar9.c 2011-07-02 rpj rpj [e51657] See the ChangeLogs
 context1.c 2007-01-05 rpj rpj [eeef42] Added more Win64 support
 count1.c 2005-01-01 rpj rpj [7eb9d4] Copyright year updated
 create1.c 2005-01-01 rpj rpj [7eb9d4] Copyright year updated
 create2.c 2011-03-05 rpj rpj [85dfea] Rework pthread_join result arg casting
 delay1.c 2005-01-01 rpj rpj [7eb9d4] Copyright year updated
 delay2.c 2011-03-06 rpj rpj [a39dab] More 64 bit cast fixups
 detach1.c 2011-03-06 rpj rpj [1183e5] 64 bit compatibility (mingw64)
 equal1.c 2005-01-01 rpj rpj [7eb9d4] Copyright year updated
 errno1.c 2005-04-06 rpj rpj [baacf6] ''
 exception1.c 2011-03-06 rpj rpj [a39dab] More 64 bit cast fixups
 exception2.c 2011-03-06 rpj rpj [a39dab] More 64 bit cast fixups
 exception3.c 2011-07-03 rpj rpj [36d058] See the ChangeLog
 exit1.c 2005-01-01 rpj rpj [7eb9d4] Copyright year updated
 exit2.c 2011-07-03 rpj rpj [36d058] See the ChangeLog
 exit3.c 2011-07-03 rpj rpj [36d058] See the ChangeLog
 exit4.c 2011-03-06 rpj rpj [1183e5] 64 bit compatibility (mingw64)
 exit5.c 2011-03-06 rpj rpj [1183e5] 64 bit compatibility (mingw64)
 eyal1.c 2005-04-26 rpj rpj [29d3e8] ''
 inherit1.c 2011-03-05 rpj rpj [85dfea] Rework pthread_join result arg casting
 join0.c 2011-03-06 rpj rpj [a39dab] More 64 bit cast fixups
 join1.c 2011-03-06 rpj rpj [a39dab] More 64 bit cast fixups
 join2.c 2011-03-06 rpj rpj [a39dab] More 64 bit cast fixups
 join3.c 2011-03-06 rpj rpj [a39dab] More 64 bit cast fixups
 kill1.c 2005-01-01 rpj rpj [7eb9d4] Copyright year updated
 loadfree.c 2005-01-01 rpj rpj [7eb9d4] Copyright year updated
 mutex1.c 2005-01-01 rpj rpj [7eb9d4] Copyright year updated
 mutex1e.c 2011-05-06 rpj rpj [2fe8ab] Robust mutexes merged from devel branch
 mutex1n.c 2011-05-06 rpj rpj [2fe8ab] Robust mutexes merged from devel branch
 mutex1r.c 2011-05-06 rpj rpj [2fe8ab] Robust mutexes merged from devel branch
 mutex2.c 2005-01-01 rpj rpj [7eb9d4] Copyright year updated
 mutex2e.c 2005-01-01 rpj rpj [7eb9d4] Copyright year updated
 mutex2r.c 2005-01-01 rpj rpj [7eb9d4] Copyright year updated
 mutex3.c 2005-01-01 rpj rpj [7eb9d4] Copyright year updated
 mutex3e.c 2005-01-01 rpj rpj [7eb9d4] Copyright year updated
 mutex3r.c 2005-01-01 rpj rpj [7eb9d4] Copyright year updated
 mutex4.c 2011-05-06 rpj rpj [2fe8ab] Robust mutexes merged from devel branch
 mutex5.c 2005-03-16 rpj rpj [e74acb] ''
 mutex6.c 2005-01-01 rpj rpj [7eb9d4] Copyright year updated
 mutex6e.c 2011-05-06 rpj rpj [2fe8ab] Robust mutexes merged from devel branch
 mutex6es.c 2011-03-06 rpj rpj [a39dab] More 64 bit cast fixups
 mutex6n.c 2011-05-06 rpj rpj [2fe8ab] Robust mutexes merged from devel branch
 mutex6r.c 2011-05-06 rpj rpj [2fe8ab] Robust mutexes merged from devel branch
 mutex6rs.c 2011-03-06 rpj rpj [a39dab] More 64 bit cast fixups
 mutex6s.c 2005-01-01 rpj rpj [7eb9d4] Copyright year updated
 mutex7.c 2011-05-06 rpj rpj [2fe8ab] Robust mutexes merged from devel branch
 mutex7e.c 2011-05-06 rpj rpj [2fe8ab] Robust mutexes merged from devel branch
 mutex7n.c 2011-05-06 rpj rpj [2fe8ab] Robust mutexes merged from devel branch
 mutex7r.c 2011-05-06 rpj rpj [2fe8ab] Robust mutexes merged from devel branch
 mutex8.c 2011-07-02 rpj rpj [e51657] See the ChangeLogs
 mutex8e.c 2011-07-02 rpj rpj [e51657] See the ChangeLogs
 mutex8n.c 2011-07-02 rpj rpj [e51657] See the ChangeLogs
 mutex8r.c 2011-07-02 rpj rpj [e51657] See the ChangeLogs
 once1.c 2005-01-01 rpj rpj [7eb9d4] Copyright year updated
 once2.c 2011-03-06 rpj rpj [1183e5] 64 bit compatibility (mingw64)
 once3.c 2011-06-30 rpj rpj [6e72bd] Fixes for x64
 once4.c 2005-04-25 rpj rpj [3ef988] ''
 openmp1.c 2011-07-02 rpj rpj [e51657] See the ChangeLogs
 priority1.c 2011-03-05 rpj rpj [85dfea] Rework pthread_join result arg casting
 priority2.c 2011-03-05 rpj rpj [85dfea] Rework pthread_join result arg casting
 reuse1.c 2011-03-06 rpj rpj [1183e5] 64 bit compatibility (mingw64)
 reuse2.c 2011-05-30 rpj rpj [26ed1e] Compiler directive cleanups
 robust1.c 2011-05-06 rpj rpj [2fe8ab] Robust mutexes merged from devel branch
 robust2.c 2011-05-06 rpj rpj [2fe8ab] Robust mutexes merged from devel branch
 robust3.c 2011-05-06 rpj rpj [2fe8ab] Robust mutexes merged from devel branch
 robust4.c 2011-05-06 rpj rpj [2fe8ab] Robust mutexes merged from devel branch
 robust5.c 2011-05-06 rpj rpj [2fe8ab] Robust mutexes merged from devel branch
 rwlock1.c 2005-01-01 rpj rpj [7eb9d4] Copyright year updated
 rwlock2.c 2005-01-01 rpj rpj [7eb9d4] Copyright year updated
 rwlock2_t.c 2011-07-02 rpj rpj [e51657] See the ChangeLogs
 rwlock3.c 2011-07-02 rpj rpj [aac54e] See the ChangeLogs
 rwlock3_t.c 2011-07-02 rpj rpj [e51657] See the ChangeLogs
 rwlock4.c 2011-07-02 rpj rpj [aac54e] See the ChangeLogs
 rwlock4_t.c 2011-07-02 rpj rpj [e51657] See the ChangeLogs
 rwlock5.c 2011-07-02 rpj rpj [aac54e] See the ChangeLogs
 rwlock5_t.c 2011-07-02 rpj rpj [e51657] See the ChangeLogs
 rwlock6.c 2011-05-06 rpj rpj [2fe8ab] Robust mutexes merged from devel branch
 rwlock6_t.c 2011-07-02 rpj rpj [e51657] See the ChangeLogs
 rwlock6_t2.c 2011-07-02 rpj rpj [e51657] See the ChangeLogs
 rwlock7.c 2011-07-02 rpj rpj [e51657] See the ChangeLogs
 rwlock8.c 2011-07-02 rpj rpj [e51657] See the ChangeLogs
 self1.c 2010-06-20 rpj rpj [a3ea0b] See ChangeLogs: preparing for new release.
 self2.c 2005-01-01 rpj rpj [7eb9d4] Copyright year updated
 semaphore1.c 2011-07-02 rpj rpj [e51657] See the ChangeLogs
 semaphore2.c 2005-01-01 rpj rpj [7eb9d4] Copyright year updated
 semaphore3.c 2005-01-01 rpj rpj [7eb9d4] Copyright year updated
 semaphore4.c 2011-03-06 rpj rpj [a39dab] More 64 bit cast fixups
 semaphore4t.c 2011-03-05 rpj rpj [85dfea] Rework pthread_join result arg casting
 semaphore5.c 2006-12-22 rpj rpj [a7ed60] ''
 sequence1.c 2011-06-30 rpj rpj [6e72bd] Fixes for x64
 sizes.c 2011-03-06 rpj rpj [1183e5] 64 bit compatibility (mingw64)
 spin1.c 2005-01-01 rpj rpj [7eb9d4] Copyright year updated
 spin2.c 2005-01-01 rpj rpj [7eb9d4] Copyright year updated
 spin3.c 2011-07-02 rpj rpj [aac54e] See the ChangeLogs
 spin4.c 2011-07-03 rpj rpj [d0616e] Reorganisation of #defines
 stress1.c 2011-07-02 rpj rpj [e51657] See the ChangeLogs
 test.h 2011-07-02 rpj rpj [e51657] See the ChangeLogs
 tryentercs.c 2005-01-01 rpj rpj [7eb9d4] Copyright year updated
 tryentercs2.c 2005-01-01 rpj rpj [7eb9d4] Copyright year updated
 tsd1.c 2011-03-05 rpj rpj [85dfea] Rework pthread_join result arg casting
 tsd2.c 2011-03-05 rpj rpj [85dfea] Rework pthread_join result arg casting
 valid1.c 2011-03-05 rpj rpj [85dfea] Rework pthread_join result arg casting
 valid2.c 2005-01-01 rpj rpj [7eb9d4] Copyright year updated

Read Me

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.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks