summaryrefslogtreecommitdiff
path: root/tests/bmp
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/bmp
parent8321d47931251c680ea3492d60e97d93d56559ab (diff)
downloadlibgd-b1151dedb1676926bf256e4a035f616aa1c0a160.tar.gz
tests: Correct some test depend errors
Diffstat (limited to 'tests/bmp')
-rw-r--r--tests/bmp/CMakeLists.txt5
-rw-r--r--tests/bmp/Makemodule.am6
2 files changed, 1 insertions, 10 deletions
diff --git a/tests/bmp/CMakeLists.txt b/tests/bmp/CMakeLists.txt
index 82526a1..0cc1d06 100644
--- a/tests/bmp/CMakeLists.txt
+++ b/tests/bmp/CMakeLists.txt
@@ -2,13 +2,8 @@ LIST(APPEND TESTS_FILES
bmp_null
bug00275
bug00450
-)
-
-IF(PNG_FOUND)
-LIST(APPEND TESTS_FILES
bmp_im2im
bug00276
)
-ENDIF(PNG_FOUND)
ADD_GD_TESTS()
diff --git a/tests/bmp/Makemodule.am b/tests/bmp/Makemodule.am
index 7016d27..e7908f3 100644
--- a/tests/bmp/Makemodule.am
+++ b/tests/bmp/Makemodule.am
@@ -1,13 +1,9 @@
libgd_test_programs += \
bmp/bmp_null \
bmp/bug00275 \
- bmp/bug00450
-
-if HAVE_LIBPNG
-libgd_test_programs += \
+ bmp/bug00450 \
bmp/bmp_im2im \
bmp/bug00276
-endif
EXTRA_DIST += \
bmp/bug00450.bmp \