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


bug #48638: no tests for octave command line options

Submitted by:  CarnĂ« Draug <carandraug>
Submitted on:  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

Add a New Comment(Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


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>
Project Administrator
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>
Project Member


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

Attach Files:

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)

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

    Only project 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.3