~ubuntu-branches/ubuntu/natty/clamav/natty-updates

« back to all changes in this revision

Viewing changes to win32/3rdparty/pthreads/tests/README

  • Committer: Package Import Robot
  • Author(s): Scott Kitterman
  • Date: 2011-08-25 09:02:32 UTC
  • mfrom: (105.2.2 natty-proposed) (105.1.5 oneiric)
  • Revision ID: package-import@ubuntu.com-20110825090232-84nkdn9ah8w9o83g
Tags: 0.97.2+dfsg-1ubuntu1.11.04
Microversion update from 0.97 to 0.97.2 (LP: #826828)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
Running test cases in this directory
2
 
------------------------------------
3
 
 
4
 
These make scripts expect to be able to copy the dll, library
5
 
and header files from this directory's parent directory,
6
 
which should be the pthreads-win32 source directory.
7
 
 
8
 
MS VC nmake
9
 
-------------
10
 
 
11
 
Run the target corresponding to the DLL version being tested:
12
 
 
13
 
nmake clean VC
14
 
 
15
 
or:
16
 
 
17
 
nmake clean VS
18
 
 
19
 
 
20
 
GNU GCC make
21
 
------------
22
 
 
23
 
Run "make clean" and then "make". See the "Known bugs" section
24
 
in ..\README.
25
 
 
26
 
 
27
 
Writing Test Cases
28
 
------------------
29
 
 
30
 
Tests 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
 
 
40
 
Notes:
41
 
------
42
 
 
43
 
Many test cases use knowledge of implementation internals which are supposed
44
 
to be opaque to portable applications.