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) --
31 Generating loader_gateway.sce...
32 Generating cleaner_gateway.sce...
33 Generating localization
34 -- Building for "en_US" --
35 -- Building for "fr_FR" --
37 Building the master document:
38 TMPDIR\toolbox_skeleton\help\en_US
39 Building the manual file [javaHelp] in TMPDIR\toolbox_skeleton\help\en_US.
40 Generate image ./c_sub_1.png from Scilab code from file c_sub.xml
41 Generate image ./c_sub_en_US_2.png from Scilab code from file c_sub.xml
42 Building the master document:
43 TMPDIR\toolbox_skeleton\help\fr_FR
44 Building the manual file [javaHelp] in TMPDIR\toolbox_skeleton\help\fr_FR.
45 Generate image ./c_sub_1.png from Scilab code from file c_sub.xml
46 Generate image ./c_sub_fr_FR_2.png from Scilab code from file c_sub.xml
47 Generating loader.sce...
48 Generating unloader.sce...
49 Generating cleaner.sce...
50 assert_checkequal(isdir(DST + '/help/fr_FR/scilab_fr_FR_help'), %T);
51 assert_checkequal(isdir(DST + '/help/en_US/scilab_en_US_help'), %T);