changeset 21645:9810e483b42f

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.
author Rik <rik@octave.org>
date Tue, 26 Apr 2016 11:16:04 -0700
parents 7bdfa98a98a3
children 3cddf1e65ccf
files libinterp/corefcn/debug.cc
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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, , ,