Tests: reworked libgd version detection.

The "libgd-config" binary is deprecated in recent versions and may not exist
or have unexpected output.  More, it may not present within older versions,
as well, if installed separately, which previously broke test assumptions.
The fix is change the fallback to skip tests.  In addition, recent Perl GD
module (2.57) started to export libgd version, which is now also consulted.
1 file changed
tree: 6d1110ef646a3e55304b91dbfab6e8c27ed4d330
  1. lib/
  2. access.t
  3. access_log.t
  4. access_log_variables.t
  5. addition.t
  6. addition_buffered.t
  7. auth_basic.t
  8. auth_request.t
  9. auth_request_satisfy.t
  10. auth_request_set.t
  11. autoindex.t
  12. autoindex_format.t
  13. binary_upgrade.t
  14. body.t
  15. body_chunked.t
  16. charset.t
  17. charset_gzip_static.t
  18. config_dump.t
  19. dav.t
  20. dav_chunked.t
  21. debug_connection.t
  22. debug_connection_syslog.t
  23. debug_connection_unix.t
  24. empty_gif.t
  25. error_log.t
  26. fastcgi.t
  27. fastcgi_body.t
  28. fastcgi_body2.t
  29. fastcgi_buffering.t
  30. fastcgi_cache.t
  31. fastcgi_header_params.t
  32. fastcgi_keepalive.t
  33. fastcgi_merge_params.t
  34. fastcgi_merge_params2.t
  35. fastcgi_request_buffering.t
  36. fastcgi_request_buffering_chunked.t
  37. fastcgi_split.t
  38. fastcgi_unix.t
  39. fastcgi_variables.t
  40. geo.t
  41. geo_binary.t
  42. geo_ipv6.t
  43. geo_unix.t
  44. geoip.t
  45. grpc.t
  46. grpc_next_upstream.t
  47. grpc_request_buffering.t
  48. grpc_ssl.t
  49. gunzip.t
  50. gunzip_memcached.t
  51. gunzip_perl.t
  52. gunzip_ssi.t
  53. gunzip_static.t
  54. gzip.t
  55. gzip_flush.t
  56. h2.t
  57. h2_auth_request.t
  58. h2_fastcgi_request_buffering.t
  59. h2_headers.t
  60. h2_limit_conn.t
  61. h2_limit_req.t
  62. h2_max_requests.t
  63. h2_priority.t
  64. h2_proxy_cache.t
  65. h2_proxy_protocol.t
  66. h2_proxy_request_buffering.t
  67. h2_proxy_request_buffering_redirect.t
  68. h2_proxy_request_buffering_ssl.t
  69. h2_proxy_ssl.t
  70. h2_request_body.t
  71. h2_request_body_preread.t
  72. h2_server_push.t
  73. h2_server_tokens.t
  74. h2_ssl.t
  75. h2_ssl_proxy_cache.t
  76. h2_ssl_variables.t
  77. h2_ssl_verify_client.t
  78. h2_trailers.t
  79. h2_variables.t
  80. headers.t
  81. http_absolute_redirect.t
  82. http_disable_symlinks.t
  83. http_error_page.t
  84. http_expect_100_continue.t
  85. http_header_buffers.t
  86. http_host.t
  87. http_include.t
  88. http_keepalive.t
  89. http_listen.t
  90. http_location.t
  91. http_location_auto.t
  92. http_location_win32.t
  93. http_resolver.t
  94. http_resolver_aaaa.t
  95. http_resolver_cleanup.t
  96. http_resolver_cname.t
  97. http_server_name.t
  98. http_try_files.t
  99. http_uri.t
  100. http_variables.t
  101. ignore_invalid_headers.t
  102. image_filter.t
  103. image_filter_finalize.t
  104. image_filter_webp.t
  105. index.t
  106. js.t
  107. js_async.t
  108. js_dump.t
  109. js_headers.t
  110. js_internal_redirect.t
  111. js_modules.t
  112. js_paths.t
  113. js_promise.t
  114. js_request_body.t
  115. js_return.t
  116. js_subrequests.t
  117. js_variables.t
  118. LICENSE
  119. limit_conn.t
  120. limit_conn_complex.t
  121. limit_conn_dry_run.t
  122. limit_rate.t
  123. limit_req.t
  124. limit_req2.t
  125. limit_req_delay.t
  126. limit_req_dry_run.t
  127. mail_capability.t
  128. mail_error_log.t
  129. mail_imap.t
  130. mail_imap_ssl.t
  131. mail_pop3.t
  132. mail_resolver.t
  133. mail_smtp.t
  134. mail_smtp_greeting_delay.t
  135. mail_smtp_xclient.t
  136. mail_ssl.t
  137. map.t
  138. map_complex.t
  139. map_volatile.t
  140. memcached.t
  141. memcached_fake.t
  142. memcached_keepalive.t
  143. memcached_keepalive_stale.t
  144. merge_slashes.t
  145. mirror.t
  146. mirror_proxy.t
  147. mp4.t
  148. mp4_ssi.t
  149. msie_refresh.t
  150. not_modified.t
  151. not_modified_finalize.t
  152. not_modified_proxy.t
  153. perl.t
  154. perl_gzip.t
  155. perl_sleep.t
  156. perl_ssi.t
  157. post_action.t
  158. proxy.t
  159. proxy_bind.t
  160. proxy_bind_transparent.t
  161. proxy_bind_transparent_capability.t
  162. proxy_cache.t
  163. proxy_cache_bypass.t
  164. proxy_cache_chunked.t
  165. proxy_cache_convert_head.t
  166. proxy_cache_error.t
  167. proxy_cache_lock.t
  168. proxy_cache_lock_age.t
  169. proxy_cache_lock_ssi.t
  170. proxy_cache_manager.t
  171. proxy_cache_max_range_offset.t
  172. proxy_cache_path.t
  173. proxy_cache_range.t
  174. proxy_cache_revalidate.t
  175. proxy_cache_use_stale.t
  176. proxy_cache_valid.t
  177. proxy_cache_variables.t
  178. proxy_cache_vary.t
  179. proxy_chunked.t
  180. proxy_cookie.t
  181. proxy_force_ranges.t
  182. proxy_if.t
  183. proxy_keepalive.t
  184. proxy_limit_rate.t
  185. proxy_merge_headers.t
  186. proxy_method.t
  187. proxy_next_upstream.t
  188. proxy_next_upstream_tries.t
  189. proxy_noclose.t
  190. proxy_non_idempotent.t
  191. proxy_pass_request.t
  192. proxy_protocol.t
  193. proxy_protocol2.t
  194. proxy_protocol2_server.t
  195. proxy_protocol_ipv6.t
  196. proxy_protocol_server.t
  197. proxy_redirect.t
  198. proxy_request_buffering.t
  199. proxy_request_buffering_chunked.t
  200. proxy_request_buffering_keepalive.t
  201. proxy_request_buffering_ssl.t
  202. proxy_set_body.t
  203. proxy_ssi_body.t
  204. proxy_ssl.t
  205. proxy_ssl_certificate.t
  206. proxy_ssl_keepalive.t
  207. proxy_ssl_name.t
  208. proxy_ssl_verify.t
  209. proxy_store.t
  210. proxy_unfinished.t
  211. proxy_unix.t
  212. proxy_upgrade.t
  213. proxy_upstream_cookie.t
  214. proxy_variables.t
  215. proxy_websocket.t
  216. proxy_xar.t
  217. random_index.t
  218. range.t
  219. range_charset.t
  220. range_flv.t
  221. range_if_range.t
  222. range_mp4.t
  223. README
  224. realip.t
  225. realip_hostname.t
  226. realip_remote_addr.t
  227. realip_remote_port.t
  228. referer.t
  229. request_id.t
  230. rewrite.t
  231. rewrite_if.t
  232. rewrite_set.t
  233. rewrite_unescape.t
  234. scgi.t
  235. scgi_body.t
  236. scgi_cache.t
  237. scgi_gzip.t
  238. scgi_merge_params.t
  239. secure_link.t
  240. server_tokens.t
  241. slice.t
  242. split_clients.t
  243. ssi.t
  244. ssi_delayed.t
  245. ssi_if.t
  246. ssi_include_big.t
  247. ssi_waited.t
  248. ssl.t
  249. ssl_certificate.t
  250. ssl_certificate_chain.t
  251. ssl_certificate_perl.t
  252. ssl_certificates.t
  253. ssl_client_escaped_cert.t
  254. ssl_crl.t
  255. ssl_engine_keys.t
  256. ssl_password_file.t
  257. ssl_proxy_protocol.t
  258. ssl_proxy_upgrade.t
  259. ssl_sni.t
  260. ssl_sni_reneg.t
  261. ssl_sni_sessions.t
  262. ssl_stapling.t
  263. ssl_verify_client.t
  264. ssl_verify_depth.t
  265. stream_access.t
  266. stream_access_log.t
  267. stream_access_log_escape.t
  268. stream_access_log_none.t
  269. stream_error_log.t
  270. stream_geo.t
  271. stream_geo_binary.t
  272. stream_geo_ipv6.t
  273. stream_geo_unix.t
  274. stream_geoip.t
  275. stream_js.t
  276. stream_js_variables.t
  277. stream_limit_conn.t
  278. stream_limit_conn_complex.t
  279. stream_limit_conn_dry_run.t
  280. stream_limit_rate.t
  281. stream_limit_rate2.t
  282. stream_map.t
  283. stream_proxy.t
  284. stream_proxy_bind.t
  285. stream_proxy_complex.t
  286. stream_proxy_next_upstream.t
  287. stream_proxy_protocol.t
  288. stream_proxy_protocol_ipv6.t
  289. stream_proxy_protocol_ssl.t
  290. stream_proxy_ssl.t
  291. stream_proxy_ssl_certificate.t
  292. stream_proxy_ssl_name.t
  293. stream_proxy_ssl_name_complex.t
  294. stream_proxy_ssl_verify.t
  295. stream_realip.t
  296. stream_realip_hostname.t
  297. stream_resolver.t
  298. stream_split_clients.t
  299. stream_ssl.t
  300. stream_ssl_certificate.t
  301. stream_ssl_preread.t
  302. stream_ssl_preread_alpn.t
  303. stream_ssl_preread_protocol.t
  304. stream_ssl_realip.t
  305. stream_ssl_variables.t
  306. stream_ssl_verify_client.t
  307. stream_status_variable.t
  308. stream_tcp_nodelay.t
  309. stream_udp_limit_conn.t
  310. stream_udp_limit_rate.t
  311. stream_udp_proxy.t
  312. stream_udp_proxy_requests.t
  313. stream_udp_stream.t
  314. stream_udp_upstream.t
  315. stream_udp_upstream_hash.t
  316. stream_udp_upstream_least_conn.t
  317. stream_udp_wildcard.t
  318. stream_unix.t
  319. stream_upstream.t
  320. stream_upstream_hash.t
  321. stream_upstream_least_conn.t
  322. stream_upstream_max_conns.t
  323. stream_upstream_random.t
  324. stream_upstream_zone.t
  325. stream_upstream_zone_ssl.t
  326. stream_variables.t
  327. stub_status.t
  328. sub_filter.t
  329. sub_filter_buffering.t
  330. sub_filter_merge.t
  331. sub_filter_multi.t
  332. sub_filter_multi2.t
  333. sub_filter_perl.t
  334. sub_filter_slice.t
  335. sub_filter_ssi.t
  336. subrequest_output_buffer_size.t
  337. syslog.t
  338. trailers.t
  339. upstream.t
  340. upstream_hash.t
  341. upstream_hash_memcached.t
  342. upstream_ip_hash.t
  343. upstream_ip_hash_ipv6.t
  344. upstream_keepalive.t
  345. upstream_least_conn.t
  346. upstream_max_conns.t
  347. upstream_random.t
  348. upstream_zone.t
  349. upstream_zone_ssl.t
  350. userid.t
  351. uwsgi.t
  352. worker_shutdown_timeout.t
  353. worker_shutdown_timeout_h2.t
  354. worker_shutdown_timeout_mail.t
  355. worker_shutdown_timeout_proxy_upgrade.t
  356. worker_shutdown_timeout_stream.t
  357. xslt.t
  358. xslt_params.t