Xcos tests: recompilation at every call and context use 32/12132/5
authorPaul BIGNIER <paul.bignier@scilab-enterprises.com>
Thu, 25 Jul 2013 14:16:24 +0000 (16:16 +0200)
committercodereview <codereview@git.scilab.org>
Mon, 5 Aug 2013 13:18:49 +0000 (15:18 +0200)
commita55189c229ea35bbd91288838d6bae97bb303c52
tree87b1df15d1be3e54da9b3210c6defbb8f05c461f
parentad682aea90f5ce89a5ffe5f8c574cf74332dd290
Xcos tests: recompilation at every call and context use

Modifiying the scs_m (Clock block period) requires recompilation of the cpr (Info),
so it was not safe to use the same Info variable.
Also, used the context to update that value,
instead of looking for it in the scs_m through loops.

In the diagrams, removed the unnecessary Scope blocks and recalibrated the buffer sizes
to match the minimal number of steps (final time / highest clock period).
Also, cleaned the contexts from unused variable L.

Change-Id: Ieeadd9f9c00f2e42273a3b12fb99e2e67e93e133
20 files changed:
scilab/modules/scicos/tests/unit_tests/DDaskrK_Bouncing.dia.ref
scilab/modules/scicos/tests/unit_tests/DDaskrK_Bouncing.tst
scilab/modules/scicos/tests/unit_tests/DDaskrK_Hydraulics.dia.ref
scilab/modules/scicos/tests/unit_tests/DDaskrK_Hydraulics.tst
scilab/modules/scicos/tests/unit_tests/DDaskrK_Platform.dia.ref
scilab/modules/scicos/tests/unit_tests/DDaskrK_Platform.tst
scilab/modules/scicos/tests/unit_tests/DDaskrK_RLC.dia.ref
scilab/modules/scicos/tests/unit_tests/DDaskrK_RLC.tst
scilab/modules/scicos/tests/unit_tests/DDaskrN_Bouncing.dia.ref
scilab/modules/scicos/tests/unit_tests/DDaskrN_Bouncing.tst
scilab/modules/scicos/tests/unit_tests/DDaskrN_Hydraulics.dia.ref
scilab/modules/scicos/tests/unit_tests/DDaskrN_Hydraulics.tst
scilab/modules/scicos/tests/unit_tests/DDaskrN_Platform.dia.ref
scilab/modules/scicos/tests/unit_tests/DDaskrN_Platform.tst
scilab/modules/scicos/tests/unit_tests/DDaskrN_RLC.dia.ref
scilab/modules/scicos/tests/unit_tests/DDaskrN_RLC.tst
scilab/modules/xcos/tests/unit_tests/DDaskr_Bouncing_test.zcos
scilab/modules/xcos/tests/unit_tests/DDaskr_Hydraulics_test.zcos
scilab/modules/xcos/tests/unit_tests/DDaskr_Platform_test.zcos
scilab/modules/xcos/tests/unit_tests/DDaskr_RLC_test.zcos