[Scilab-users] Issue with Using atomsTest

Samuel Gougeon sgougeon at free.fr
Thu Mar 23 01:12:07 CET 2017


Hi,

Le 22/03/2017 à 04:54, Tan Chin Luh a écrit :
> Hi,
>
> Just to check whether anyone encounter issues with the atomsTest 
> function.
>
> When running the test_run, all the tests passed. However, when running 
> the atomsTest, all tests fail with the error: failed: Slave Scilab 
> exited with error code 1. the log file gives :
>
> Start Toolbox Skeleton
>     Load macros
>     Load gateways
>     Load Java libraries
>     Load help
>     Load demos
>
> Start Toolbox Skeleton
> WARNING: Toolbox skeleton library is already loaded
> at line    15 of executed file 
> D:\scilab\scilab-6.0.0\contrib\toolbox_skeleton\0.1.0\loader.sce
>
> exec: error on line #67: "Redefining permanent variable." Remove help 
> chapter

I don't know how you get this error, because i am unable to load the 
Toolbox_skeleton:
it is provided without any loader. It must be built before, and it 
requires a compiler.

But I did a test for another toolbox, namely with stixbox that has only 
macros.
stixbox is already provided for Scilab 6.0, but all its tests fail 
whatever is the way running them.
The reason is that its macros directory includes the lib file as 
generated by genlib(),
but most of .bin files are missing, as if they were removed after the 
compilation!
So, most of its functions are actually unknown, as documented when using the
"show_error" test_run() option.

As a consequence, i am not sure that there is any generic bug about 
test_run() or atomsTest().
Here, clearly, the error is from the packaging of the /stixbox 2.5/ 
ATOMS module.

But may be i tried with the bad guy and most of other modules are OK. 
Except Toolbox_skeleton as bad.

Samuel






>
>
> How to reproduce:
>
> 1. Install any Scilab 6 module with unittest with atoms
>
> 2. run atomsTest and test_run to see the differences.
>
>
> Thanks.
>
>
> rgds,
> CL
>
>
>
>
> _______________________________________________
> users mailing list
> users at lists.scilab.org
> http://lists.scilab.org/mailman/listinfo/users
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/users/attachments/20170323/f9ad5e06/attachment.htm>


More information about the users mailing list