Mercurial > hg > octave-nkf
comparison test/build_sparse_tests.sh @ 8153:ec0a13863eb7
Only run tests that depend on HDF5 and QHull if Octave was actually
linked against these libraries.
author | Soren Hauberg <hauberg@gmail.com> |
---|---|
date | Fri, 26 Sep 2008 13:23:02 -0400 |
parents | f3c00dc0912b |
children | 8b1a2555c4e2 |
comparison
equal
deleted
inserted
replaced
8152:2b48deec1aa2 | 8153:ec0a13863eb7 |
---|---|
877 %! as_save=as; save("-binary",savefile,"bf","as_save","af"); | 877 %! as_save=as; save("-binary",savefile,"bf","as_save","af"); |
878 %! clear as_save; | 878 %! clear as_save; |
879 %! load(savefile,"as_save"); | 879 %! load(savefile,"as_save"); |
880 %! unlink(savefile); | 880 %! unlink(savefile); |
881 %! assert(as_save,sparse(af)); | 881 %! assert(as_save,sparse(af)); |
882 %!test # save hdf5 | 882 %!testif HAVE_HDF5 # save hdf5 |
883 %! savefile= tmpnam(); | 883 %! savefile= tmpnam(); |
884 %! as_save=as; save("-hdf5",savefile,"bf","as_save","af"); | 884 %! as_save=as; save("-hdf5",savefile,"bf","as_save","af"); |
885 %! clear as_save; | 885 %! clear as_save; |
886 %! load(savefile,"as_save"); | 886 %! load(savefile,"as_save"); |
887 %! unlink(savefile); | 887 %! unlink(savefile); |