• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Boost.GIL (Generic Image Library) - IO tests
2#
3# Copyright (c) 2012 Christian Henning
4# Copyright (c) 2017 Stefan Seefeld
5# Copyright (c) 2012-2020 Mateusz Loskot <mateusz@loskot.net>
6#
7# Distributed under the Boost Software License, Version 1.0.
8# (See accompanying file LICENSE_1_0.txt or
9# copy at http://www.boost.org/LICENSE_1_0.txt)
10
11import ac ;
12import testing ;
13
14using libtiff : : : : true ;
15lib libtiffxx : : <name>tiffxx ;
16
17# TODO: Download TIFF test suite images and build with BOOST_GIL_IO_USE_TIFF_GRAPHICSMAGICK_TEST_SUITE_IMAGES
18
19project
20   : requirements
21      <define>BOOST_GIL_IO_TEST_ALLOW_READING_IMAGES
22      <define>BOOST_GIL_IO_TEST_ALLOW_WRITING_IMAGES
23      <library>/boost/filesystem//boost_filesystem
24      <library>libtiffxx
25      [ ac.check-library /libtiff//libtiff : <library>/libtiff//libtiff : <build>no ]
26   ;
27
28run  tiff_file_format_test.cpp ;
29run  tiff_subimage_test.cpp ;
30run  tiff_test.cpp ;
31run  tiff_tiled_float_test.cpp ;
32run  tiff_tiled_minisblack_test_1-10.cpp ;
33run  tiff_tiled_minisblack_test_11-20.cpp ;
34run  tiff_tiled_minisblack_test_21-31_32-64.cpp ;
35run  tiff_tiled_minisblack_write_test_1-10.cpp ;
36run  tiff_tiled_minisblack_write_test_11-20.cpp ;
37run  tiff_tiled_minisblack_write_test_21-31_32-64.cpp ;
38run  tiff_tiled_palette_test_1-8.cpp ;
39run  tiff_tiled_palette_test_8-16.cpp ;
40run  tiff_tiled_palette_write_test_1-8.cpp ;
41run  tiff_tiled_palette_write_test_8-16.cpp ;
42run  tiff_tiled_rgb_contig_test_1-10.cpp ;
43run  tiff_tiled_rgb_contig_test_11-20.cpp ;
44run  tiff_tiled_rgb_contig_test_21-31_32_64.cpp ;
45run  tiff_tiled_rgb_contig_write_test_1-10.cpp ;
46run  tiff_tiled_rgb_contig_write_test_11-20.cpp ;
47run  tiff_tiled_rgb_contig_write_test_21-31_32_64.cpp ;
48run  tiff_tiled_rgb_planar_test_1-10.cpp ;
49run  tiff_tiled_rgb_planar_test_11-20.cpp ;
50run  tiff_tiled_rgb_planar_test_21-31_32_64.cpp ;
51run  tiff_tiled_test.cpp ;
52run  tiff_write_test.cpp ;
53
54run  tiff_old_test.cpp ;
55