~ubuntu-branches/ubuntu/intrepid/libgd2/intrepid-updates

« back to all changes in this revision

Viewing changes to README.TESTING

  • Committer: Bazaar Package Importer
  • Author(s): Kees Cook
  • Date: 2007-02-06 21:15:32 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20070206211532-p00rbx2wak0ls19y
Tags: 2.0.34~rc1-2ubuntu1
* Merge from debian unstable, remaining changes:
  - debian/control: Drop unnecessary build dependency 'gnulib'.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
 
2
 
 
3
To run the tests suite, all you need is (add the cmake options if you need any
 
4
or if the default libs and include paths are not the default) :
 
5
 
 
6
$ cmake -DBUILD_TEST=1 .
 
7
$ ctest .
 
8
 
 
9
If you like to run the tests against a installed GD library, set the following
 
10
environment variables:
 
11
 
 
12
export CMAKE_INCLUDE_PATH=/path/to/the/gd/include
 
13
export CMAKE_LIBRARY_PATH=/path/to/the/gd/lib
 
14
 
 
15
then call cmake using:
 
16
 
 
17
$ cmake -DUSE_EXT_GD=1 -DBUILD_TEST=1 
 
18
$ make
 
19
and finally:
 
20
 
 
21
$ ctest .
 
22
 
 
23
I will certainly add a nice CMake option to give prefix later.
 
24
 
 
25
What to do if tests fail on your platform and you use the last GD release? 
 
26
either from your favourite distributions or from http://www.libgd.org or cvs?
 
27
 
 
28
If you use a packaged version of the GD Library (installed from RPM, deb or 
 
29
ports, gentoo packages or any other packages format or distribution), please try
 
30
to run the tests using the source releases available at:
 
31
 
 
32
http://www.libgd.org/Downloads
 
33
 
 
34
If the tests fail using our source release, please report a bug here:
 
35
 
 
36
http://bugs.libgd.org
 
37
 
 
38
You can attach the two files available in:
 
39
 
 
40
./Testing/Temporary
 
41
 
 
42
Later versions will have an automatic post mode.
 
43
 
 
44
If the tests run successfully, please report a bug to the maintainer of the
 
45
packages (debian, bsd, ubuntu or whoever is responsible for the packages).
 
46
 
 
47
Reasons of failures:
 
48
Exception: SegFault: self explaining
 
49
Failed               test failed, check the log to know where
 
50
timeout              the default timeout is 5 seconds. Some test may
 
51
                     have infinite loops when compiled against old versions
 
52
                     of the GD library (esp. 2.0.33 or earlier)
 
53