[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #47258] exit() causes empty line at stdout
From: |
Rik |
Subject: |
[Octave-bug-tracker] [bug #47258] exit() causes empty line at stdout |
Date: |
Sat, 27 Feb 2016 00:33:28 +0000 |
User-agent: |
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:43.0) Gecko/20100101 Firefox/43.0 |
Follow-up Comment #10, bug #47258 (project octave):
I think what you were looking for was either program_name() or
program_invocation_name().
It's not perfect, but program_invocation_name is the same as program_name when
I use run-octave, but is a very long full path to the executable when I am
running an installed version of octave.
I don't think these tests need to be a part of the full regression suite.
Invoking run-octave, as is done to create the plots for the manual, is a slow
processwhich we shouldn't inflict on everyone.
One way forward would be to create a directory under test/ which has all of
the m-files you need to do your testing. Next, add a new test target to
test/module.mk which runs the scripts in your new directory. This would be
manual, but you could run 'make my_newline_tests' before each release to
verify nothing has changed.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?47258>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #47258] exit() causes empty line at stdout, Carnë Draug, 2016/02/25
- [Octave-bug-tracker] [bug #47258] exit() causes empty line at stdout, John W. Eaton, 2016/02/25
- [Octave-bug-tracker] [bug #47258] exit() causes empty line at stdout, John W. Eaton, 2016/02/25
- [Octave-bug-tracker] [bug #47258] exit() causes empty line at stdout, Rik, 2016/02/25
- [Octave-bug-tracker] [bug #47258] exit() causes empty line at stdout, Carnë Draug, 2016/02/25
- [Octave-bug-tracker] [bug #47258] exit() causes empty line at stdout, Carnë Draug, 2016/02/26
- [Octave-bug-tracker] [bug #47258] exit() causes empty line at stdout, Lachlan Andrew, 2016/02/26
- [Octave-bug-tracker] [bug #47258] exit() causes empty line at stdout, Rik, 2016/02/26
- [Octave-bug-tracker] [bug #47258] exit() causes empty line at stdout, Mike Miller, 2016/02/26
- [Octave-bug-tracker] [bug #47258] exit() causes empty line at stdout, Carnë Draug, 2016/02/26
- [Octave-bug-tracker] [bug #47258] exit() causes empty line at stdout,
Rik <=