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) --
20 Generate a loader file
24 Building shared library (be patient)
25 Generate a cleaner file
26 Generate a loader file
31 Compilation of multiplybypi.c
32 Building shared library (be patient)
33 Generate a cleaner file
35 Generate a gateway file
36 Generate a loader file
39 Compilation of sci_fsum.c
40 Compilation of skeleton_fortran.c
41 Building shared library (be patient)
42 Generate a cleaner file
43 Generate a gateway file
44 Generate a loader file
47 Compilation of sci_csub.c
48 Compilation of sci_csum.c
49 Compilation of sci_foo.c
50 Compilation of sci_multiplybypi.c
51 Compilation of skeleton_c.c
52 Building shared library (be patient)
53 Generate a cleaner file
54 Generate a gateway file
55 Generate a loader file
58 Compilation of sci_cpp_find.cxx
59 Compilation of skeleton_cpp.c
60 Building shared library (be patient)
61 Generate a cleaner file
62 Generating loader_gateway.sce...
63 Generating cleaner_gateway.sce...
66 Building the master document:
67 TMPDIR\toolbox_skeleton\help\en_US
69 Building the manual file [javaHelp] in TMPDIR\toolbox_skeleton\help\en_US.
71 Generate image ./c_sub_1.png from Scilab code from file c_sub.xml
73 Generate image ./c_sub_en_US_2.png from Scilab code from file c_sub.xm
76 Building the master document:
77 TMPDIR\toolbox_skeleton\help\fr_FR
79 Building the manual file [javaHelp] in TMPDIR\toolbox_skeleton\help\fr_FR.
81 Generate image ./c_sub_1.png from Scilab code from file c_sub.xml
83 Generate image ./c_sub_fr_FR_2.png from Scilab code from file c_sub.xm
85 Generating loader.sce...
86 Generating unloader.sce...
87 Generating cleaner.sce...
88 exec("TMPDIR/toolbox_skeleton/loader.sce");
89 Start Toolbox skeleton
94 test_run("TMPDIR/toolbox_skeleton/", [], "short_summary");
95 001/001 - [TMPDIR/toolbox_skeleton/] :
97 001/003 - [TMPDIR/toolbox_skeleton/] c_sum...................passed
98 002/003 - [TMPDIR/toolbox_skeleton/] fortran_sum.............passed
99 003/003 - [TMPDIR/toolbox_skeleton/] scilab_sum..............passed
102 --------------------------------------------------------------------------
103 Tests: 3, Passed: 3, Failed: 0, Skipped: 0
104 --------------------------------------------------------------------------