bugGNU Octave - Bugs: bug #48638, no tests for octave command line...

 
 

bug #48638: no tests for octave command line options

Submitter:  CarnĂ« Draug <carandraug>
Submitted:  Tue 26 Jul 2016 03:13:18 PM UTC
   
 
Category:  Test Suite Severity:  3 - Normal
Priority:  5 - Normal Item Group:  None
Status:  None Assigned to:  None
Originator Name:  Open/Closed:  * Open
Release:  * dev Operating System:  * Any
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Fri 23 Mar 2018 08:49:45 AM UTC, comment #1: 

I've started working on an independent project to test Octave from the command line at https://github.com/mtmiller/octave-test-suite.

So far I have tests for no extra newlines, basic commands from stdin or from --eval, and the --version option. I'm open to contributions to help develop this further and hopefully roll it back into Octave at some point in the future.

Mike Miller <mtmiller>
Group Member
Tue 26 Jul 2016 03:13:18 PM UTC, original submission:  

Originally mentioned on bug #48620

We don't have tests for Octave command line options.  I'm not sure how to best handle this things.  Some cases:


  • the option -norc should skip initialization files
  • the --no-site-file not even the system wide file


More simple ones (that caused this):

  • test for no extra newlines at the end (this bug has reappeared and been fixed multiple times before)
  • test for skipping the startup message
Carnë Draug <carandraug>
Group Member

 

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

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by mtmiller (Posted a comment)
  • -email is unavailable- added by jwe (Updated the item)
  • -email is unavailable- added by carandraug (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.

     

    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2016-07-29 jwe CategoryNone Test Suite

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code