[Scilab-users] Issue with Using atomsTest

Tan Chin Luh chinluh at tritytech.com
Thu Mar 23 01:22:09 CET 2017


Hi Samuel,

What I did for the Toolbox Skeleton was:
1. Compile it
2. Manually zip it
3. atomsInstall the zip file.

Then I could use the test_run and atomsTest to see the result.

Thanks.

Regards,
Chin Luh


On 23/3/2017 8:12 AM, Samuel Gougeon wrote:
> 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
>>
>
>
>
> _______________________________________________
> 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/7f7b3ebc/attachment.htm>


More information about the users mailing list