1 // =============================================================================
2 // Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
3 // Copyright (C) 2011 - DIGITEO - Allan CORNET
5 // This file is distributed under the same license as the Scilab package.
6 // =============================================================================
8 // <-- ENGLISH IMPOSED -->
10 // <-- NO CHECK ERROR OUTPUT -->
12 // <-- Non-regression test for bug 9339 -->
14 // <-- Bugzilla URL -->
15 // http://bugzilla.scilab.org/show_bug.cgi?id=9339
17 // <-- Short Description -->
18 // 'tbx_build_help' function did not manage languages correctly.
19 SRC = SCI + '/contrib/toolbox_skeleton';
20 DST = TMPDIR + '/toolbox_skeleton';
22 assert_checkequal(isdir(DST), %T);
28 -- Creation of [toolbox_skeletonlib] (Macros) --
29 genlib: Processing file: scilab_sum.sci
30 genlib: Regenerate names and lib
33 Generating loader_gateway.sce...
34 Generating cleaner_gateway.sce...
37 Building the master document:
38 TMPDIR/toolbox_skeleton/help/en_US
40 Building the manual file [javaHelp] in TMPDIR/toolbox_skeleton/help/en_US.
42 Generate image ./c_sub_1.png from Scilab code from file c_sub.xml
44 Generate image ./c_sub_en_US_2.png from Scilab code from file c_sub.xm
47 Building the master document:
48 TMPDIR/toolbox_skeleton/help/fr_FR
50 Building the manual file [javaHelp] in TMPDIR/toolbox_skeleton/help/fr_FR.
52 Generate image ./c_sub_1.png from Scilab code from file c_sub.xml
54 Generate image ./c_sub_fr_FR_2.png from Scilab code from file c_sub.xm
56 Generating loader.sce...
57 Generating unloader.sce...
58 Generating cleaner.sce...
59 assert_checkequal(isdir(DST + '/help/fr_FR/scilab_fr_FR_help'), %T);
60 assert_checkequal(isdir(DST + '/help/en_US/scilab_en_US_help'), %T);