summaryrefslogtreecommitdiff
path: root/tests/wbmp
diff options
context:
space:
mode:
authorwilson chen <willson.chenwx@gmail.com>2020-01-02 20:27:29 +0800
committerGitHub <noreply@github.com>2020-01-02 20:27:29 +0800
commitb1151dedb1676926bf256e4a035f616aa1c0a160 (patch)
treef42f2861afd93742cb9233e3983a8be8ec3733f2 /tests/wbmp
parent8321d47931251c680ea3492d60e97d93d56559ab (diff)
downloadlibgd-b1151dedb1676926bf256e4a035f616aa1c0a160.tar.gz
tests: Correct some test depend errors
Diffstat (limited to 'tests/wbmp')
-rw-r--r--tests/wbmp/CMakeLists.txt5
-rw-r--r--tests/wbmp/Makemodule.am6
2 files changed, 1 insertions, 10 deletions
diff --git a/tests/wbmp/CMakeLists.txt b/tests/wbmp/CMakeLists.txt
index 1f85a15..4ec45bd 100644
--- a/tests/wbmp/CMakeLists.txt
+++ b/tests/wbmp/CMakeLists.txt
@@ -1,11 +1,6 @@
LIST(APPEND TESTS_FILES
wbmp_null
-)
-
-IF(PNG_FOUND)
-LIST(APPEND TESTS_FILES
wbmp_im2im
)
-ENDIF(PNG_FOUND)
ADD_GD_TESTS()
diff --git a/tests/wbmp/Makemodule.am b/tests/wbmp/Makemodule.am
index fb12272..37f09e1 100644
--- a/tests/wbmp/Makemodule.am
+++ b/tests/wbmp/Makemodule.am
@@ -1,10 +1,6 @@
libgd_test_programs += \
- wbmp/wbmp_null
-
-if HAVE_LIBPNG
-libgd_test_programs += \
+ wbmp/wbmp_null \
wbmp/wbmp_im2im
-endif
EXTRA_DIST += \
wbmp/CMakeLists.txt