Scicos tests: scicos.tst PASS
[scilab.git] / scilab / modules / scicos / tests / unit_tests / scicos_tests.sci
index 316ff94..e238fe4 100644 (file)
@@ -143,9 +143,10 @@ endfunction
 //%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 function r=check_set_ports()
   r=%f
-  funcprot(0)
-  exec('SCI/modules/scicos/macros/scicos_scicos/setvalue.sci')
+  prot=funcprot();
+  funcprot(0);
   scicos_getvalue=setvalue;
+  funcprot(prot);
   alreadyran=%f;  %scicos_prob=%f
   for i=1:nb
     if and(Blocs(i)~=["SUPER_f" "func_block" "scifunc_block" "GENERAL_f" "SOM_f" "CURV_f" "LOOKUP_f"]) then