1 // =============================================================================
2 // Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
3 // Copyright (C) 2011 - DIGITEO - Vincent COUVERT
5 // This file is distributed under the same license as the Scilab package.
6 // =============================================================================
7 // <-- NO CHECK ERROR OUTPUT -->
8 // <-- ENGLISH IMPOSED -->
9 // Test the toolbox skeleton in SCI/contrib/
10 // - Building/Compilation
13 // Scilab external module skeleton
14 status = copyfile(SCI + "/contrib/toolbox_skeleton/", TMPDIR + "/toolbox_skeleton/");
15 assert_checkequal(status, 1);
16 exec("TMPDIR/toolbox_skeleton/builder.sce");
18 -- Creation of [toolbox_skeletonlib] (Macros) --
19 genlib: Processing file: scilab_error.sci
20 genlib: Processing file: scilab_sum.sci
21 genlib: Regenerate names and lib
23 Generate a loader file
27 Building shared library (be patient)
28 Generate a cleaner file
29 Generate a loader file
34 Compilation of multiplybypi.c
35 Building shared library (be patient)
36 Generate a cleaner file
37 Building JAR library org.scilab.contrib.toolboxskeleton.jar
38 Compiling Java sources in TMPDIR\toolbox_skeleton\src\java\
39 Creating JAR archive TMPDIR\toolbox_skeleton\jar\org.scilab.contrib.toolboxskeleton.jar
40 Create loader script for Java loader.sce
41 Create cleaner script for Java cleaner.sce
43 Generate a gateway file
44 Generate a loader file
47 Compilation of sci_fsum.c
48 Compilation of skeleton_fortran.c
49 Building shared library (be patient)
50 Generate a cleaner file
51 Generate a gateway file
52 Generate a loader file
55 Compilation of sci_cerror.c
56 Compilation of sci_csub.c
57 Compilation of sci_csum.c
58 Compilation of sci_foo.c
59 Compilation of sci_multiplybypi.c
60 Compilation of skeleton_c.c
61 Building shared library (be patient)
62 Generate a cleaner file
63 Generate a gateway file
64 Generate a loader file
67 Compilation of sci_cpp_find.cxx
68 Compilation of skeleton_cpp.c
69 Building shared library (be patient)
70 Generate a cleaner file
71 Generating loader_gateway.sce...
72 Generating cleaner_gateway.sce...
73 Generating localization
74 -- Building for "en_US" --
75 -- Building for "fr_FR" --
78 Building the master document:
79 TMPDIR\toolbox_skeleton\help\en_US
81 Building the manual file [javaHelp] in TMPDIR\toolbox_skeleton\help\en_US.
83 Generate image ./c_sub_1.png from Scilab code from file c_sub.xml
85 Generate image ./c_sub_en_US_2.png from Scilab code from file c_sub.xm
88 Building the master document:
89 TMPDIR\toolbox_skeleton\help\fr_FR
91 Building the manual file [javaHelp] in TMPDIR\toolbox_skeleton\help\fr_FR.
93 Generate image ./c_sub_1.png from Scilab code from file c_sub.xml
95 Generate image ./c_sub_fr_FR_2.png from Scilab code from file c_sub.xm
97 Generating loader.sce...
98 Generating unloader.sce...
99 Generating cleaner.sce...
100 exec("TMPDIR/toolbox_skeleton/loader.sce");
101 Start Toolbox Skeleton
107 test_run("TMPDIR/toolbox_skeleton/", [], "short_summary");
108 001/001 - [TMPDIR/toolbox_skeleton/] :
110 001/004 - [TMPDIR/toolbox_skeleton/] c_sum...................passed
111 002/004 - [TMPDIR/toolbox_skeleton/] fortran_sum.............passed
112 003/004 - [TMPDIR/toolbox_skeleton/] java_sum................passed
113 004/004 - [TMPDIR/toolbox_skeleton/] scilab_sum..............passed
116 --------------------------------------------------------------------------
117 Tests: 4, Passed: 4, Failed: 0, Skipped: 0
118 --------------------------------------------------------------------------