If the option show_error is passed to test_run, it will also export stderr into the... 56/10756/3
Sylvestre Ledru [Fri, 8 Mar 2013 16:47:31 +0000 (17:47 +0100)]
Example:
test_run("graphic_objects","bug_11472","show_error","/tmp/foo.xml")

Change-Id: I2e5012e66c8461b24f75562901701c7f40f55beb

scilab/modules/development_tools/macros/test_run.sci

index 1e2799e..160dfcc 100644 (file)
@@ -1028,6 +1028,9 @@ function msg = checkthefile( filename )
 // Workaround for bug #4827
   msg(1) = "   Check the following file :"
   msg(2) = "   - "+filename
+  if params.show_error == %t then
+    msg=[msg; mgetl(filename)]
+  end
 endfunction
 
 // launchthecommand