gnuastro-devel
[Top][All Lists]
Advanced

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

[gnuastro-devel] [bug #47833] `make check' tests also read user and syst


From: Mohammad Akhlaghi
Subject: [gnuastro-devel] [bug #47833] `make check' tests also read user and system configurations
Date: Tue, 03 May 2016 04:02:20 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:46.0) Gecko/20100101 Firefox/46.0

URL:
  <http://savannah.gnu.org/bugs/?47833>

                 Summary: `make check' tests also read user and system
configurations 
                 Project: GNU Astronomy Utilities
            Submitted by: makhlaghi
            Submitted on: Tue 03 May 2016 01:02:19 PM JST
                Category: Installation
                Severity: 4 - Important
              Item Group: Crash
                  Status: Fixed
                 Privacy: Public
             Assigned to: makhlaghi
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

This issue is fixed and is pushed to master on the main repo.

when `make check' was run, the utilities would also go looking into the user
and system-wide directories for options. Checking user and system
configuration files caused problems when the newer version of a utility has
changed old options (renamed, or removed them). Although this should not
happen too often, but in major releases and during the first few releases of
Gnuastro (while it is stabilizing) it can happen. So the `make check' tests
would fail with the respective utility complaining of an unrecognized option.

The `onlydirconf' option is now added to the configuration file of all the
utilities at the start of `make check' (`tests/prepconf.sh') so the utilities
only look into `tests/.gnuastro/' for configuration files. The implementation
also allows add other such options specific to `make check' to be added to the
configuration files in the future, if need be. 




    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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