octave-patch-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-patch-tracker] [patch #9633] Add test for correct exit status be


From: Rik
Subject: [Octave-patch-tracker] [patch #9633] Add test for correct exit status behaviour
Date: Fri, 3 Jan 2020 11:39:25 -0500 (EST)
User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; Trident/7.0; rv:11.0) like Gecko

Follow-up Comment #5, patch #9633 (project octave):

I guess I find writing portable shell scripts to be tedious to get right (See
https://www.gnu.org/software/autoconf/manual/autoconf-2.64/html_node/Portable-Shell.html).
 But, if someone can do it I have no objection.

The tests I was proposing could go in their own .tst file under the test/
directory or within their own directory under the test/ directory so I think
it is easily extensible.

I hadn't been targeting running in existing installations, but it seems like
it wouldn't be that hard to distinguish between run-octave and a regular
octave run.

When using run-octave,


program_invocation_name 
ans = /home/rik/wip/Projects_Mine/octave-dev/src/.libs/octave-gui


When using an installed version of Octave


program_invocation_name 
ans = /usr/local/libexec/octave/5.1.0/exec/x86_64-pc-linux-gnu/octave-gui




    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/patch/?9633>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]