1 // =============================================================================
2 // Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
3 // Copyright (C) 2010 - DIGITEO - Clément DAVID
4 // Copyright (C) 2010 - Scilab Enterprises - Clément DAVID
6 // This file is distributed under the same license as the Scilab package.
7 // =============================================================================
9 // <-- ENGLISH IMPOSED -->
13 // <-- Non-regression test for bug 8480 -->
15 // <-- Bugzilla URL -->
16 // http://bugzilla.scilab.org/show_bug.cgi?id=8480
18 // <-- Short Description -->
19 // The debug block did not have a valid function type.
21 global Result;Result=[];
22 importXcosDiagram('SCI/modules/xcos/tests/nonreg_tests/bug_8480.zcos');
23 Info=scicos_simulate(scs_m,list());
24 block 1 is called with flag 4 at time 0.000000
27 block 2 is called with flag 4 at time 0.000000
30 block 3 is called with flag 4 at time 0.000000
33 block 4 is called with flag 4 at time 0.000000
36 block 6 is called with flag 4 at time 0.000000
39 block 1 is called with flag 6 at time 0.000000
42 block 2 is called with flag 6 at time 0.000000
45 block 3 is called with flag 6 at time 0.000000
48 block 4 is called with flag 6 at time 0.000000
51 block 6 is called with flag 6 at time 0.000000
54 block 1 is called with flag 6 at time 0.000000
57 block 2 is called with flag 6 at time 0.000000
60 block 3 is called with flag 6 at time 0.000000
63 block 4 is called with flag 6 at time 0.000000
66 block 6 is called with flag 6 at time 0.000000
69 Event: 1 activated at t=0.000000
71 block 1 is called with flag 1 at time 0.000000
74 block 2 is called with flag 1 at time 0.000000
77 block 4 is called with flag 1 at time 0.000000
80 block 6 is called with flag 1 at time 0.000000
83 block 3 is called with flag 1 at time 0.000000
86 block 1 is called with flag 2 at time 0.000000
89 block 4 is called with flag 2 at time 0.000000
92 block 6 is called with flag 3 at time 0.000000
95 block 6 is called with flag 2 at time 0.000000
99 Event: 1 activated at t=0.500000
101 block 1 is called with flag 1 at time 0.500000
104 block 2 is called with flag 1 at time 0.500000
107 block 4 is called with flag 1 at time 0.500000
110 block 6 is called with flag 1 at time 0.500000
113 block 3 is called with flag 1 at time 0.500000
116 block 1 is called with flag 2 at time 0.500000
119 block 4 is called with flag 2 at time 0.500000
122 block 6 is called with flag 3 at time 0.500000
125 block 6 is called with flag 2 at time 0.500000
129 block 1 is called with flag 5 at time 1.000000
132 block 2 is called with flag 5 at time 1.000000
135 block 3 is called with flag 5 at time 1.000000
138 block 4 is called with flag 5 at time 1.000000
141 block 6 is called with flag 5 at time 1.000000
144 if isempty(Result) then bugmes();quit;end