Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 264757 | Differences between
and this patch

Collapse All | Expand All

(-)octave-3.2.0.orig/scripts/general/interpft.m (-4 lines)
Lines 105-114 Link Here
105
%! legend ('sin(4t+0.3)cos(3t-0.1','spline','interpft','data');
105
%! legend ('sin(4t+0.3)cos(3t-0.1','spline','interpft','data');
106
106
107
%!shared n,y
107
%!shared n,y
108
%! x = [0:10]'; y = sin(x); n = length (x);
109
%!assert (interpft(y, n), y, 20*eps);
110
%!assert (interpft(y', n), y', 20*eps);
111
%!assert (interpft([y,y],n), [y,y], 20*eps);
112
108
113
%!error (interpft(y,n,0))
109
%!error (interpft(y,n,0))
114
%!error (interpft(y,[n,n]))
110
%!error (interpft(y,[n,n]))
(-)octave-3.2.0.orig/test/build_sparse_tests.sh (-17 lines)
Lines 872-894 Link Here
872
%! load(savefile,"as_save");
872
%! load(savefile,"as_save");
873
%! unlink(savefile);
873
%! unlink(savefile);
874
%! assert(as_save,sparse(af));
874
%! assert(as_save,sparse(af));
875
%!test # save binary
876
%! savefile= tmpnam();
877
%! as_save=as; save("-binary",savefile,"bf","as_save","af");
878
%! clear as_save;
879
%! load(savefile,"as_save");
880
%! unlink(savefile);
881
%! assert(as_save,sparse(af));
882
%!testif HAVE_HDF5 # save hdf5
883
%! savefile= tmpnam();
884
%! as_save=as; save("-hdf5",savefile,"bf","as_save","af");
885
%! clear as_save;
886
%! load(savefile,"as_save");
887
%! unlink(savefile);
888
%! assert(as_save,sparse(af));
889
## FIXME -- we should skip (or mark as an expected failure) the test for
890
## saving sparse matrices to MAT files when using 64-bit indexing since
891
## that is not implemented yet.
892
%!test # save matlab
875
%!test # save matlab
893
%! savefile= tmpnam();
876
%! savefile= tmpnam();
894
%! as_save=as; save("-mat",savefile,"bf","as_save","af");
877
%! as_save=as; save("-mat",savefile,"bf","as_save","af");
(-)octave-3.2.0.orig/test/test_system.m (-5 lines)
Lines 253-263 Link Here
253
%!error <Invalid call to file_in_path.*> file_in_path ("foo", "bar", "baz", "ooka");
253
%!error <Invalid call to file_in_path.*> file_in_path ("foo", "bar", "baz", "ooka");
254
254
255
%% test/octave.test/system/tilde_expand-1.m
255
%% test/octave.test/system/tilde_expand-1.m
256
%!testif HAVE_GETPWUID
257
%! x = getpwuid (getuid ());
258
%! assert((strcmp (x.dir, tilde_expand ("~"))
259
%! && strcmp (x.dir, tilde_expand (sprintf ("~%s", x.name)))
260
%! && strcmp ("foobar", tilde_expand ("foobar"))));
261
256
262
%% test/octave.test/system/tilde_expand-2.m
257
%% test/octave.test/system/tilde_expand-2.m
263
%!error <Invalid call to tilde_expand.*> tilde_expand ();
258
%!error <Invalid call to tilde_expand.*> tilde_expand ();

Return to bug 264757