changeset 11942:0eaaf7351ef5
release-3-0-x
fix platform test in test_string.m
author |
Tatsuro Matsuoka <tmacchant@yahoo.co.jp> |
date |
Thu, 26 Mar 2009 07:22:13 +0100 |
parents |
c2bfc6440e18 |
children |
af4fa72ee250 |
files |
test/ChangeLog test/test_string.m |
diffstat |
2 files changed, 5 insertions(+), 1 deletions(-)
[+]
|
line diff
--- a/test/ChangeLog
+++ b/test/ChangeLog
@@ -1,3 +1,7 @@
+2009-03-26 Tatsuro Matsuoka <tmacchant@yahoo.co.jp>
+
+ * test_string.m: Use more accurate platform test.
+
2008-09-24 Jaroslav Hajek <highegg@gmail.com>
Version 3.0.3 released.
--- a/test/test_string.m
+++ b/test/test_string.m
@@ -532,7 +532,7 @@
%! result = zeros (1, 128);
%!
%! result (33:127) = 1;
-%! if (ispc () && ! isunix ())
+%! if (size(findstr (octave_config_info('canonical_host_type'), 'msvc'),2))
%! result(10) = 1;
%! endif
%!