Mercurial > octave
comparison scripts/testfun/__run_test_suite__.m @ 32075:9583d971e603
mfile_encoding: Add to officially documented functions.
* libinterp/corefcn/input.cc (Fmfile_encoding): Rename from
"F__mfile_encoding__". Add documentation. Add alias with the former name.
* doc/interpreter/func.txi: Add documentation for function to manual.
* doc/interpreter/basics.txi,
libgui/src/main-window.cc (main_window::update_default_encoding),
scripts/pkg/private/install.m (extract_pkg),
scripts/testfun/__run_test_suite__.m,
test/file-encoding/file-encoding.tst: Adapt for changed function name.
author | Markus Mützel <markus.muetzel@gmx.de> |
---|---|
date | Thu, 04 May 2023 18:06:08 +0200 |
parents | 597f3ee61a48 |
children | 2e484f9f1f18 |
comparison
equal
deleted
inserted
replaced
32074:03fe0b635d2e | 32075:9583d971e603 |
---|---|
53 endif | 53 endif |
54 | 54 |
55 pso = page_screen_output (); | 55 pso = page_screen_output (); |
56 orig_wquiet = warning ("query", "quiet"); | 56 orig_wquiet = warning ("query", "quiet"); |
57 orig_wstate = warning (); | 57 orig_wstate = warning (); |
58 orig_mfile_encoding = __mfile_encoding__ ("utf-8"); | 58 orig_mfile_encoding = mfile_encoding ("utf-8"); |
59 logfile = make_absolute_filename ("fntests.log"); | 59 logfile = make_absolute_filename ("fntests.log"); |
60 unwind_protect | 60 unwind_protect |
61 page_screen_output (false); | 61 page_screen_output (false); |
62 warning ("on", "quiet"); | 62 warning ("on", "quiet"); |
63 warning ("off", "Octave:deprecated-function"); | 63 warning ("off", "Octave:deprecated-function"); |
154 end_try_catch | 154 end_try_catch |
155 unwind_protect_cleanup | 155 unwind_protect_cleanup |
156 warning ("off", "all"); | 156 warning ("off", "all"); |
157 warning (orig_wstate); | 157 warning (orig_wstate); |
158 warning (orig_wquiet.state, "quiet"); | 158 warning (orig_wquiet.state, "quiet"); |
159 __mfile_encoding__ (orig_mfile_encoding); | 159 mfile_encoding (orig_mfile_encoding); |
160 page_screen_output (pso); | 160 page_screen_output (pso); |
161 end_unwind_protect | 161 end_unwind_protect |
162 | 162 |
163 if (nargout > 0) | 163 if (nargout > 0) |
164 pass = dp; | 164 pass = dp; |