1 // =============================================================================
2 // Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
3 // Copyright (C) 2008 - DIGITEO - Allan CORNET
5 // This file is distributed under the same license as the Scilab package.
6 // =============================================================================
7 // <-- ENGLISH IMPOSED -->
8 // <-- CLI SHELL MODE -->
9 // <-- Non-regression test for bug 3191 -->
11 // <-- Bugzilla URL -->
12 // http://bugzilla.scilab.org/show_bug.cgi?id=3191
15 test_path = get_absolute_file_path('bug_3191.tst');
20 mkdir(OS_TMP_DIR,'bug_3191');
21 TEST_DIR = OS_TMP_DIR + filesep() + 'bug_3191';
22 copyfile(SCI+'/modules/dynamic_link/tests/nonreg_tests/bug_3191.c' , TEST_DIR + filesep() + 'bug_3191.c');
25 ilib_build('libc_fun',['c_fun','c_intfun'],files,[]);
26 // load the shared library
29 //using the new primitive
30 if c_fun(3,8) <> 3+8 then bugmes();quit;end
31 // ulink() all libraries
35 // =============================================================================