bugGNU Octave - Bugs: bug #48966, cgi: Allow running the unit test...

 
 

bug #48966: cgi: Allow running the unit test out of the box

Submitter:  Rafael Laboissière <rlaboiss>
Submitted:  Wed 31 Aug 2016 09:19:01 PM UTC
   
 
Category:  Octave Package Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Other
Status:  Fixed Assigned to:  None
Originator Name:  Open/Closed:  * Closed
Release:  * other Operating System:  * Any
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Wed 07 Sep 2016 10:25:00 AM UTC, comment #2: 

I usually run the unit test in the "inst" directory where the test code works out of the box. I changed the code (similar to your patch) so that the test code now works in any directory if the cgi package is installed. I assume that this makes it easier for distro package maintainers.

This bug is fixed in version 0.1.2 which I just released.


Alexander Barth <abarth>
Thu 01 Sep 2016 11:20:20 AM UTC, comment #1: 

Adding package maintainer to CC

Carnë Draug <carandraug>
Group Member
Wed 31 Aug 2016 09:19:01 PM UTC, original submission:  

The patch attached below allow running the doc/test_cgi.sh (as in the 0.1.1 release) out of the box.  It is necessary to load the cgi package before calling the cgi() function.

Rafael Laboissière

Rafael Laboissière <rlaboiss>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

Attached Files

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by siko1056 (Updated the item)
  • -email is unavailable- added by abarth (Posted a comment)
  • -email is unavailable- added by carandraug (Alexander Barth - maintainer of cgi package)
  • -email is unavailable- added by rlaboiss (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.

     

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2016-09-08 siko1056 StatusNone Fixed
        Open/ClosedOpen Closed
    2016-09-01 carandraug Carbon-Copy- Added -email is unavailable-
    2016-08-31 rlaboiss Attached File- Added load-cgi-package-in-unit-test.patch, #38397

    Back to the top

    Powered by Savane 3.13-758e.
    Corresponding source code