Mercurial > octave-libtiff
changeset 27184:f7bf27159cf7 stable
* bp-table.cc: Fix test.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Fri, 14 Jun 2019 10:32:06 -0500 |
parents | e3b2d4e442c4 |
children | 04889e45f54e 940c1b6e3453 |
files | libinterp/parse-tree/bp-table.cc |
diffstat | 1 files changed, 15 insertions(+), 15 deletions(-) [+] |
line wrap: on
line diff
--- a/libinterp/parse-tree/bp-table.cc Wed Jun 12 08:48:15 2019 -0500 +++ b/libinterp/parse-tree/bp-table.cc Fri Jun 14 10:32:06 2019 -0500 @@ -472,21 +472,21 @@ } } - /* - %!test - %! dbclear all; # Clear out breakpoints before test - %! dbstop help; - %! dbstop in ls; - %! dbstop help at 100; - %! dbstop in ls 100; - %! dbstop help 201 if a==5; - %! dbstop if error Octave:undefined-function; - %! s = dbstatus; - %! dbclear all; - %! assert ({s.bkpt(:).name}, {"help", "help", "help>do_contents", "ls", "ls"}); - %! assert ([s.bkpt(:).line], [48, 100, 201, 58, 100]); - %! assert (s.errs, {"Octave:undefined-function"}); - */ +/* +%!test +%! dbclear all; # Clear out breakpoints before test +%! dbstop help; +%! dbstop in ls; +%! dbstop help at 100; +%! dbstop in ls 100; ## 100 is a comment; code line is at 103 +%! dbstop help 201 if a==5; +%! dbstop if error Octave:undefined-function; +%! s = dbstatus; +%! dbclear all; +%! assert ({s.bkpt(:).name}, {"help", "help", "help>do_contents", "ls", "ls"}); +%! assert ([s.bkpt(:).line], [48, 100, 201, 58, 103]); +%! assert (s.errs, {"Octave:undefined-function"}); +*/ // Return the sub/nested/main function of MAIN_FCN that contains // line number LINENO of the source file.