# HG changeset patch # User Rik # Date 1461694564 25200 # Node ID 9810e483b42fa273a89ea82bd7abbabafef75413 # Parent 7bdfa98a98a30c5d71a3f74f057f091586f9b4b8 Fix dbstop BIST tests on Windows platforms. * debug.cc: Change BIST tests to use filesep() which can depend on the operating system, rather than a fixed string. diff -r 7bdfa98a98a3 -r 9810e483b42f libinterp/corefcn/debug.cc --- a/libinterp/corefcn/debug.cc Mon Apr 25 08:07:36 2016 -0700 +++ b/libinterp/corefcn/debug.cc Tue Apr 26 11:16:04 2016 -0700 @@ -431,6 +431,7 @@ /* %!test +%! dbclear all; # Clear out breakpoints before test %! dbstop help; %! dbstop in ls; %! dbstop help at 100; @@ -1489,6 +1490,7 @@ /* %!test +%! dbclear all; # Clear out breakpoints before test %! dbstop @ftp/dir; %! dbstop @audioplayer/set 70; %! dbstop quantile>__quantile__; @@ -1499,7 +1501,7 @@ %! assert (s(2).name, "@ftp/dir"); %! assert (s(3).name, "ls"); %! assert (s(4).name, "quantile>__quantile__"); -%! assert (s(2).file(end-10:end), "/@ftp/dir.m"); +%! assert (s(2).file(end-10:end), [filesep "@ftp" filesep "dir.m"]); */ DEFUN (dbwhere, , ,