diff options
author | Akira Kakuto <kakuto@fuk.kindai.ac.jp> | 2016-12-23 16:27:24 +0000 |
---|---|---|
committer | Akira Kakuto <kakuto@fuk.kindai.ac.jp> | 2016-12-23 16:27:24 +0000 |
commit | d1cfc0855275b55794810162e7ce04a1e16d5188 (patch) | |
tree | 2e2626ee0e4738e8d6b6624c2d7fafe506b3dbfb /Build/source/libs/gd/libgd-src/docs/README.TESTING | |
parent | 932a0f6f62cb2f33be1bade4059504d9c2749f9c (diff) |
libgd 2.2.3
git-svn-id: svn://tug.org/texlive/trunk@42778 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/libs/gd/libgd-src/docs/README.TESTING')
-rw-r--r-- | Build/source/libs/gd/libgd-src/docs/README.TESTING | 132 |
1 files changed, 70 insertions, 62 deletions
diff --git a/Build/source/libs/gd/libgd-src/docs/README.TESTING b/Build/source/libs/gd/libgd-src/docs/README.TESTING index 506ea4249ea..53dd8db54e8 100644 --- a/Build/source/libs/gd/libgd-src/docs/README.TESTING +++ b/Build/source/libs/gd/libgd-src/docs/README.TESTING @@ -1,62 +1,70 @@ -|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
-
-To run the tests suite, all you need is (add the cmake options if you need any
-or if the default libs and include paths are not the default) :
-
-In a sub directory:
-$ mkdir bld
-$ cd bld
-$ cmake -DBUILD_TEST=1 ..
-$ ctest .
-
-Or if you like to build in the source tree:
-$ cmake -DBUILD_TEST=1 .
-$ ctest .
-
-Add "-DCMAKE_BUILD_TYPE=DEBUG" if you like to have a debug version.
-
-If you like to run the tests against a installed GD library, set the following
-environment variables:
-
-export CMAKE_INCLUDE_PATH=/path/to/the/gd/include
-export CMAKE_LIBRARY_PATH=/path/to/the/gd/lib
-
-then call cmake using:
-
-$ cmake -DUSE_EXT_GD=1 -DBUILD_TEST=1
-$ make
-and finally:
-
-$ ctest .
-
-I will certainly add a nice CMake option to give prefix later.
-
-What to do if tests fail on your platform and you use the last GD release?
-either from your favourite distributions or from http://www.libgd.org or git?
-
-If you use a packaged version of the GD Library (installed from RPM, deb or
-ports, gentoo packages or any other packages format or distribution), please try
-to run the tests using the source releases available at:
-
-http://www.libgd.org/Downloads
-
-If the tests fail using our source release, please report a bug here:
-
-http://bugs.libgd.org
-
-You can attach the two files available in:
-
-./Testing/Temporary
-
-Later versions will have an automatic post mode.
-
-If the tests run successfully, please report a bug to the maintainer of the
-packages (debian, bsd, ubuntu or whoever is responsible for the packages).
-
-Reasons of failures:
-Exception: SegFault: self explaining
-Failed test failed, check the log to know where
-timeout the default timeout is 5 seconds. Some test may
- have infinite loops when compiled against old versions
- of the GD library (esp. 2.0.33 or earlier)
-
+||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||| + +To run the tests suite, all you need is (add the cmake options if you need any +or if the default libs and include paths are not the default) : + +In a sub directory: +$ mkdir bld +$ cd bld +$ cmake -DBUILD_TEST=1 .. +$ make +$ ctest . + +Or if you like to build in the source tree: +$ cmake -DBUILD_TEST=1 . +$ make +$ ctest . + +Add "-DCMAKE_BUILD_TYPE=DEBUG" if you like to have a debug version. + +If you like to run the tests against a installed GD library, set the following +environment variables: + +export CMAKE_INCLUDE_PATH=/path/to/the/gd/include +export CMAKE_LIBRARY_PATH=/path/to/the/gd/lib + +then call cmake using: + +$ cmake -DUSE_EXT_GD=1 -DBUILD_TEST=1 +$ make +and finally: + +$ ctest . + +I will certainly add a nice CMake option to give prefix later. + +What to do if tests fail on your platform and you use the last GD release? +either from your favourite distributions or from http://www.libgd.org or git? + +If you use a packaged version of the GD Library (installed from RPM, deb or +ports, gentoo packages or any other packages format or distribution), please try +to run the tests using the source releases available at: + +http://www.libgd.org/Downloads + +If the tests fail using our source release, please report a bug here: + +http://bugs.libgd.org + +You can attach the two files available in: + +./Testing/Temporary + +Later versions will have an automatic post mode. + +If the tests run successfully, please report a bug to the maintainer of the +packages (debian, bsd, ubuntu or whoever is responsible for the packages). + +Reasons of failures: +Exception: SegFault: self explaining +Failed test failed, check the log to know where +timeout the default timeout is 5 seconds. Some test may + have infinite loops when compiled against old versions + of the GD library (esp. 2.0.33 or earlier) + +Some features rely on floating point arithmetics and results may vary from +one architecture to another. +Examples: +on i686, gdimagerotate/bug00067 will faill. The result is still viusally +acceptable but i686 default arithmetic mode will generate different results. +Adding "-msse -mfpmath=sse" to CFLAGS will solve this difference. |