• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1Running test cases in this directory
2------------------------------------
3
4These make scripts expect to be able to copy the dll, library
5and header files from this directory's parent directory,
6which should be the pthreads-win32 source directory.
7
8MS VC nmake
9-------------
10
11Run the target corresponding to the DLL version being tested:
12
13nmake clean VC
14
15or:
16
17nmake clean VS
18
19
20GNU GCC make
21------------
22
23Run "make clean" and then "make". See the "Known bugs" section
24in ..\README.
25
26
27Writing Test Cases
28------------------
29
30Tests written in this test suite should behave in the following manner:
31
32	* If a test fails, leave main() with a result of 1.
33
34	* If a test succeeds, leave main() with a result of 0.
35
36	* No diagnostic output should appear when the test is succeeding.
37	  Diagnostic output may be emitted if something in the test
38	  fails, to help determine the cause of the test failure.
39
40Notes:
41------
42
43Many test cases use knowledge of implementation internals which are supposed
44to be opaque to portable applications.
45