summaryrefslogtreecommitdiff
path: root/tests/gdimagerotate
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/gdimagerotate
parent8321d47931251c680ea3492d60e97d93d56559ab (diff)
downloadlibgd-b1151dedb1676926bf256e4a035f616aa1c0a160.tar.gz
tests: Correct some test depend errors
Diffstat (limited to 'tests/gdimagerotate')
-rw-r--r--tests/gdimagerotate/CMakeLists.txt5
-rw-r--r--tests/gdimagerotate/Makemodule.am6
2 files changed, 1 insertions, 10 deletions
diff --git a/tests/gdimagerotate/CMakeLists.txt b/tests/gdimagerotate/CMakeLists.txt
index 01957c5..7b8ab14 100644
--- a/tests/gdimagerotate/CMakeLists.txt
+++ b/tests/gdimagerotate/CMakeLists.txt
@@ -1,11 +1,6 @@
IF(PNG_FOUND)
-IF(JPEG_FOUND)
LIST(APPEND TESTS_FILES
bug00067
-)
-ENDIF(JPEG_FOUND)
-
-LIST(APPEND TESTS_FILES
php_bug_64898
php_bug_65070
)
diff --git a/tests/gdimagerotate/Makemodule.am b/tests/gdimagerotate/Makemodule.am
index 9d375f3..116c851 100644
--- a/tests/gdimagerotate/Makemodule.am
+++ b/tests/gdimagerotate/Makemodule.am
@@ -1,10 +1,6 @@
if HAVE_LIBPNG
-if HAVE_LIBJPEG
-libgd_test_programs += \
- gdimagerotate/bug00067
-endif
-
libgd_test_programs += \
+ gdimagerotate/bug00067 \
gdimagerotate/php_bug_64898 \
gdimagerotate/php_bug_65070
endif