Hi everyone, As discussed on IRC I setup a simple testing framework for darktable using Ruby:
https://github.com/pedrocr/darktable-tests Right now it's pretty basic. What it does is automate the process of comparing the darktable conversion against a reference file. The comparison so far is pretty simple, it checks that the width and height is the same and then does the difference between the two files and checks that no channel (RGB) differs by more than 5 in any pixel. As it turns out these tests are enough to get 7 failing tests out of 7 images, two because of width+height and 5 because of image differences. The width+height is because I flipped the reference images for this bug so that we have a failing test that will pass when this is correct: http://www.darktable.org/redmine/issues/9876 The image differences is because I generated the reference images with current git master and then the tests are running with whatever is in $PATH (1.4.1 in my case). This correctly identifies this bug: http://www.darktable.org/redmine/issues/9874 And more misteriously also finds differences in some pixels in two cases not affected by any of these bugs. Maybe a change in highlight recovery or something like it? Comments are very welcome. Cheers, Pedro ------------------------------------------------------------------------------ _______________________________________________ darktable-devel mailing list darktable-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/darktable-devel