1 // =============================================================================
2 // Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
3 // Copyright (C) 2009 - DIGITEO - Pierre MARECHAL <pierre.marechal@scilab.org>
5 // This file is distributed under the same license as the Scilab package.
6 // =============================================================================
8 // <-- ENGLISH IMPOSED -->
9 // <-- CLI SHELL MODE -->
11 load("SCI/modules/atoms/macros/atoms_internals/lib");
13 // Load the 1st scenario : See scene10.test.atoms.scilab.org.txt
14 // =============================================================================
16 atomsRepositorySetOfl("http://scene10.test.atoms.scilab.org");
18 // -----------------------------------------------------------------------------
20 ref = [ "+" "U" "toolbox_4" "1.0-1" ;
21 "+" "" "toolbox_2" "1.0-1" ;
22 "+" "" "toolbox_1" "1.0-1" ];
24 if or(atomsInstallList("toolbox_4")<>ref) then pause, end
26 // -----------------------------------------------------------------------------
28 ref = [ "+" "U" "toolbox_3" "1.0-1" ;
29 "+" "" "toolbox_2" "2.0-1" ;
30 "+" "" "toolbox_1" "1.0-1" ];
32 if or(atomsInstallList("toolbox_3")<>ref) then pause, end
34 // -----------------------------------------------------------------------------
36 ref = [ "+" "U" "toolbox_6" "1.0-1" ;
37 "+" "" "toolbox_1" "1.0-1" ;
38 "+" "" "toolbox_2" "2.0-1" ];
40 if or(atomsInstallList("toolbox_6")<>ref) then pause, end
44 // Load the 2nd scenario : See scene10.test.atoms.scilab.org.txt
45 // =============================================================================
47 atomsRepositorySetOfl("http://scene11.test.atoms.scilab.org");
49 // -----------------------------------------------------------------------------
51 ref = [ "+" "U" "toolbox_4" "1.1-1" ;
52 "+" "" "toolbox_2" "1.0-1" ;
53 "+" "" "toolbox_1" "1.0-1" ];
55 if or(atomsInstallList("toolbox_4")<>ref) then pause, end
57 // -----------------------------------------------------------------------------
59 ref = [ "+" "U" "toolbox_3" "1.0-1" ;
60 "+" "" "toolbox_2" "2.1-1" ;
61 "+" "" "toolbox_1" "1.0-1" ];
63 if or(atomsInstallList("toolbox_3")<>ref) then pause, end
65 // -----------------------------------------------------------------------------
67 ref = [ "+" "U" "toolbox_6" "1.0-1" ;
68 "+" "" "toolbox_1" "1.0-1" ;
69 "+" "" "toolbox_2" "2.1-1" ];
71 if or(atomsInstallList("toolbox_6")<>ref) then pause, end
75 // Restore Original values
76 // =============================================================================
77 atomsRepositorySetOfl(mgetl(SCI+"/modules/atoms/tests/unit_tests/repositories.orig"));