bugGNU Octave - Bugs: bug #48620, octave no longer sets --quiet for...

 
 

bug #48620: octave no longer sets --quiet for non-interactive usage (--eval and script without --persist)

Submitted by:  Carnë Draug <carandraug>
Submitted on:  Sun 24 Jul 2016 11:05:03 PM UTC  
 
Category: NoneSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Regression
Status: FixedAssigned to: John W. Eaton <jwe>
Originator Name: Open/Closed: Closed
Release: devOperating System: GNU/Linux

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Tue 26 Jul 2016 01:58:38 PM UTC, comment #4:

I pushed the following changeset:

http://hg.savannah.gnu.org/hgweb/octave/rev/a032ffb80704

As for testing, I guess we could add a separate fixed test script (could be written in Octave's scripting language) that does whatever is needed, including invoking shell scripts or running other copies of Octave. Could we track that issue separately from this bug report?

John W. Eaton <jwe>
Project AdministratorIn charge of this item.
Tue 26 Jul 2016 11:21:21 AM UTC, comment #3:

How can we add tests for this? Also for the extra whitespace at the end?

A new specific check-X target on test/module.mk and have a shell script or should we come up with something that will scale better if we add more tests in the future? I guess we should have tests for other Octave command line options.

Carnë Draug <carandraug>
Project Member
Tue 26 Jul 2016 12:49:48 AM UTC, comment #2:

Seems likely that I broke this recently with my changes to the way Octave is starting.

I'll take a look at it.

John W. Eaton <jwe>
Project AdministratorIn charge of this item.
Mon 25 Jul 2016 08:15:58 PM UTC, comment #1:

I can see this problem on Windows too.
If someone wants to bisect, revision ccf50f029999 is still OK.

Even when the behavior is "OK", I get blank line,
then the prompt, and then Octave answer.
It should be - Octave answer and then the pronpt, without blank line.

Avinoam Kalma <avinoam>
Project Member
Sun 24 Jul 2016 11:05:03 PM UTC, original submission:

Not sure when this happened but Octave no longer defaults to the --silent option for non-interactive options.

The same happens for actual octave programs.

This was fixed before with http://hg.savannah.gnu.org/hgweb/octave/rev/f81a1da191e4

Carnë Draug <carandraug>
Project Member

 

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

Attach File(s):
   
   
Comment:
   

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 jwe (Posted a comment)
  • -unavailable- added by avinoam (Posted a comment)
  • -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):

     

     

    Follow 6 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun 31 Jul 2016 01:21:00 AM UTCcarandraugStatusReady For Test=>Fixed
    Tue 26 Jul 2016 01:58:38 PM UTCjweStatusConfirmed=>Ready For Test
      Open/ClosedOpen=>Closed
    Tue 26 Jul 2016 12:49:48 AM UTCjweAssigned toNone=>jwe
    Mon 25 Jul 2016 08:15:58 PM UTCavinoamStatusNone=>Confirmed
    Sun 24 Jul 2016 11:07:24 PM UTCcarandraugSummaryoctave prints header to run script=>octave no longer sets --quiet for non-interactive usage (--eval and script without --persist)

    Back to the top


    Powered by Savane 3.1-cleanup1