Force order of compilation in genlib to ensure tests execution. 70/10770/1
Vincent COUVERT [Mon, 11 Mar 2013 10:24:41 +0000 (11:24 +0100)]
To test: test_run("modules_manager")

Change-Id: I485bde2bf56ebca3d724ee646fd75bd36e7e683f

scilab/modules/functions/macros/genlib.sci
scilab/modules/modules_manager/tests/unit_tests/xcos_toolbox_skeleton.unix.dia.ref
scilab/modules/modules_manager/tests/unit_tests/xcos_toolbox_skeleton.win.dia.ref

index bdf764b..b53d4f3 100644 (file)
@@ -103,7 +103,7 @@ function [success, funcs, success_files, failed_files] = genlib(nam, path, force
 
   if exists('names', 'local')==0 then
     // list the sci files
-    files          = listfiles(path+"*.sci",%f);
+    files          = gsort(listfiles(path+"*.sci",%f), "r", "i");
     files_filtered = [];
 
     for i=1:size(files,"*")
index a3dbc09..76ac0aa 100644 (file)
@@ -16,10 +16,10 @@ assert_checkequal(status, 1);
 exec("TMPDIR/xcos_toolbox_skeleton/builder.sce");
 Building macros...
 -- Creation of [xcos_toolbox_skeletonlib] (Macros) --
+genlib: Processing file: TBX_MUT_STYLE.sci
 genlib: Processing file: TBX_SUM_c.sci
 genlib: Processing file: TBX_SUM_sci.sci
 genlib: Processing file: TBX_SUM_sim.sci
-genlib: Processing file: TBX_MUT_STYLE.sci
 genlib: Regenerate names and lib
 Building blocks...
 Building sources...
index a0bb21c..71c2f9a 100644 (file)
@@ -16,9 +16,9 @@ assert_checkequal(status, 1);
 exec("TMPDIR/xcos_toolbox_skeleton/builder.sce");
 Building macros...
 -- Creation of [xcos_toolbox_skeletonlib] (Macros) --
-genlib: Processing file: TBX_SUM_sci.sci
 genlib: Processing file: TBX_MUT_STYLE.sci
 genlib: Processing file: TBX_SUM_c.sci
+genlib: Processing file: TBX_SUM_sci.sci
 genlib: Processing file: TBX_SUM_sim.sci
 genlib: Regenerate names and lib
 Building blocks...