aboutsummaryrefslogtreecommitdiff
path: root/doc/bugs/imagemagick_6.9.8_test_suite_failure.mdwn
blob: c2ea4f26d587de65eb01c4694a103aab7d0e13b3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
we've recently updated Imagemagick in NixOS from version 6.9.7-6 to
6.9.8-4, and this change causes the Ikiwiki test suite to fail in
t/img.t, like so:

	#   Failed test at t/img.t line 119.
	#          got: 'no image'
	#     expected: '10x10'

	#   Failed test at t/img.t line 129.
	#          got: 'no image'
	#     expected: '12x12'

	#   Failed test at t/img.t line 130.
	#          got: 'no image'
	#     expected: '16x2'

	#   Failed test at t/img.t line 134.
	#          got: 'no image'
	#     expected: '8x8'

	#   Failed test at t/img.t line 135.
	#          got: 'no image'
	#     expected: '4x4'

	#   Failed test at t/img.t line 136.
	#          got: 'no image'
	#     expected: '6x6'

	#   Failed test at t/img.t line 138.
	#          got: 'no image'
	#     expected: '11x11'

	#   Failed test at t/img.t line 139.
	#          got: 'no image'
	#     expected: '12x12'

	#   Failed test at t/img.t line 140.
	#          got: 'no image'
	#     expected: '13x13'
	# Looks like you failed 9 tests of 62.
	t/img.t ........................
	Dubious, test returned 9 (wstat 2304, 0x900)
	Failed 9/62 subtests

Is this is a known problem and is there maybe a fix for this issue?

> This was not a known bug before your report. It looks as though every
> time we use `Image::Magick->Read(":foo.png")`, which is (or was)
> ImageMagick's syntax for opening a file of unknown type without
> interpreting a prefix containing `:` as a special directive instead
> of part of the filename, it fails.
>
> Please try re-running the test with better diagnostics using
> [commit 4ace7dbb7](http://source.ikiwiki.branchable.com/?p=source.git;a=commitdiff;h=4ace7dbb7)
> and report what it says. --[[smcv]]