1 // =============================================================================
2 // Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
3 // Copyright (C) 2016 - Scilab Enterprises -
5 // This file is distributed under the same license as the Scilab package.
6 // =============================================================================
7 // <-- Non-regression test for bug 14568 -->
9 // <-- Bugzilla URL -->
10 // http://bugzilla.scilab.org/14568
12 // <-- Short Description -->
13 // strtod() fails in some locale conditions
14 // No way to set locale for the current test => run another test with a modified locale
15 setenv("LC_ALL", "fr_FR.UTF-8");
16 status = test_run("string", "bug_14568_test", ["no_check_error_output", "no_check_ref", "short_summary"]);
17 001/001 - [string] bug_14568_test............................passed
19 --------------------------------------------------------------------------
20 Tests: 1, Passed: 1, Failed: 0, Skipped: 0
21 --------------------------------------------------------------------------
22 assert_checktrue(status);