summaryrefslogtreecommitdiff
path: root/tests/png
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2016-06-15 14:53:42 -0400
committerMike Frysinger <vapier@gentoo.org>2016-06-15 14:53:42 -0400
commitcad672775d530a59e4947fc0232954b05434aa82 (patch)
tree6a44d53378b4339b38adbe2871780953302d2191 /tests/png
parent93bd6d54282cbd46dd53c9404ea6a1f85e0051b9 (diff)
downloadlibgd-cad672775d530a59e4947fc0232954b05434aa82.tar.gz
tests: cmake: move feature tests to subdirs
This makes it better match the autotools which makes it easier to compare, and allows finer grain checks (since some subtests need more than one feature test). As an example, this makes it clear we were missing gdinterpolatedscale.
Diffstat (limited to 'tests/png')
-rw-r--r--tests/png/CMakeLists.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/png/CMakeLists.txt b/tests/png/CMakeLists.txt
index adcec0f..5235417 100644
--- a/tests/png/CMakeLists.txt
+++ b/tests/png/CMakeLists.txt
@@ -1,3 +1,4 @@
+IF(PNG_FOUND)
SET(TESTS_FILES
png_im2im
png_null
@@ -8,5 +9,6 @@ SET(TESTS_FILES
bug00088
bug00193
)
+ENDIF(PNG_FOUND)
ADD_GD_TESTS()