test_run() ignores the "show_error" option for errors like "failed: Slave Scilab exited with error code" (and likely other ones)
Reported by Samuel GOUGEON (@sgougeon)
BUG DESCRIPTION:
----------------
test_run() ignores the "show_error" option for errors like "failed: Slave Scilab exited with error code" (and likely other ones)failed: Slave Scilab
ERROR LOG:
----------
HOW TO REPRODUCE THE BUG:
-------------------------
editor SCI/modules/polynomials/tests/nonreg_tests/bug_205.tst
// Add the following as the first executed line:
a = b/c // should yield an error since b and c are undefined
// Save it. Then run
test_run polynomials bug_205 show_error
// Then we get the following, where no details are given about the error:
--> test_run polynomials bug_205 show_error
TMPDIR = ...
001/001 - [polynomials] bug_205..............................failed: Slave Scilab exited with error code 1
--------------------------------------------------------------------------
Summary
tests 1 - 100 %
passed 0 - 0 %
failed 1 - 100 %
skipped 0
length 1.13 sec
--------------------------------------------------------------------------
Details
<<<< NOTHING
TEST : [polynomials] bug_205
failed: Slave Scilab exited with error code 1
<<<< NO DETAIL
--------------------------------------------------------------------------
ans =
F
// Yet:
printf("%s\n",mgetl(TMPDIR+"/bug_205.res")($-15:$)) // is informative
--> // p=determ(eye(N,N)*s-a)
--> // degree(p)
--> //
--> // Gaubert on Linux PPC version 2.2.13 distribution with X/kde as window manager
--> // France February 10, 2001 at 11:55:40
--> // <-- ENGLISH IMPOSED -->
--> a = b/c
at line 52 of executed file TMPDIR\bug_205.tst
Undefined variable: b <<<< COULD HELP DEBUGGING THE TEST ...