1
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
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) :
6
$ cmake -DBUILD_TEST=1 .
9
If you like to run the tests against a installed GD library, set the following
10
environment variables:
12
export CMAKE_INCLUDE_PATH=/path/to/the/gd/include
13
export CMAKE_LIBRARY_PATH=/path/to/the/gd/lib
15
then call cmake using:
17
$ cmake -DUSE_EXT_GD=1 -DBUILD_TEST=1
23
I will certainly add a nice CMake option to give prefix later.
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?
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:
32
http://www.libgd.org/Downloads
34
If the tests fail using our source release, please report a bug here:
38
You can attach the two files available in:
42
Later versions will have an automatic post mode.
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).
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)