gnuastro-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gnuastro-devel] [bug #46241] ImgCrop segfaults with long output file na


From: Mosè Giordano
Subject: [gnuastro-devel] [bug #46241] ImgCrop segfaults with long output file names
Date: Fri, 5 Aug 2016 22:32:53 +0000 (UTC)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0

Follow-up Comment #8, bug #46241 (project gnuastro):

The main point of having a test suite is to make sure that numerical results
are always correct (or at least what is currently supposed to be correct) also
after a massive change.

Another important, but sometimes missed, purpose of a test suite is to prevent
fixed bugs to come back later again during development.  I suggest to add a
test for all recently fixed bugs, when possible.

For example, for the current bug a possible test (to be adapted) is given in
the original report of the issue:


src/imgcrop/astimgcrop --xc=50 --yc=50 tests/1_imgcat.fits
--output=qwertyuiopasdfghjklzxcvbnmQWERTYUIOPASDFGHJKLZXCVBNM1234567890.fits


Something like this (a very long output file name) can be actually used for
the imgcrop test (actually this is bound to the optimization flag set during
configuration, it isn't something that can be always tested, but -O3 is the
default).

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?46241>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]