bugGNU Astronomy Utilities - Bugs: bug #47833, `make check' tests also read user...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #47833: `make check' tests also read user and system configurations

Submitted by:  Mohammad Akhlaghi <makhlaghi>
Submitted on:  Tue 03 May 2016 04:02:19 AM UTC  
 
Category: InstallationSeverity: 4 - Important
Item Group: CrashStatus: Fixed
Privacy: PublicAssigned to: Mohammad Akhlaghi <makhlaghi>
Open/Closed: Closed

Tue 03 May 2016 04:02:19 AM UTC, original submission:

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.

Mohammad Akhlaghi <makhlaghi>
Project AdministratorIn charge of this item.

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by makhlaghi (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follows 1 latest change.

    Date Changed By Updated Field Previous Value => Replaced By
    Sat 07 May 2016 06:13:11 AM UTCmakhlaghiOpen/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1