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 SuiteSeverity: 3 - Normal
Priority: 5 - NormalItem Group: None
Status: NoneAssigned to: None
Originator Name: Open/Closed: Open
Release: devOperating 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 File(s):

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 mtmiller (Posted a comment)
  • -unavailable- added by jwe (Updated the item)
  • -unavailable- added by carandraug (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 project members 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
    Fri 29 Jul 2016 08:15:00 PM UTCjweCategoryNone=>Test Suite

    Back to the top

    Powered by Savane 3.1-cleanup1