[Scilab-users] bug when setting gcbo field in a callback function ?

Samuel Gougeon sgougeon at free.fr
Sat Sep 29 21:38:57 CEST 2018


Le 29/09/2018 à 18:16, Stéphane Mottelet a écrit :
> Another example of such weirdness: consider (fixed) bug #13359. Its 
> non-regression test fail (at least on my OSX and Linux machines) 
> systematicaly when run by
>
> --> test_run cacsd bug_13359
>
> When run interactively by
>
> --> exec SCI/modules/cacsd/tests/nonreg_tests/bug_13359.tst
>
> it sometimes succeed and sometimes fail, this completely random. 
> However, if you insert a sleep line 25
>
> (...)
> d1 = datatipCreate(pl, 200);
> sleep(10) // line inserted
> txt_datatip = d1.text;
> assert_checkequal(strindex(txt_datatip(2), "-"), 1);
>
> Then the test, executed by exec SCI/... above, always succeed. 
> However, even with a bigger duration of sleep, even sleep(1000), then 
> "test_run cacsd bug_13359" always fail.

A follow-up is proposed on dev@ starting at 
http://mailinglists.scilab.org/Re-Scilab-users-bug-when-setting-gcbo-field-in-a-callback-function-tp4038626.html

Samuel




More information about the users mailing list