diff 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
line wrap: on
line diff
--- a/test/build_sparse_tests.sh
+++ b/test/build_sparse_tests.sh
@@ -879,7 +879,7 @@
 %! load(savefile,"as_save");
 %! unlink(savefile);
 %! assert(as_save,sparse(af));
-%!test # save hdf5
+%!testif HAVE_HDF5 # save hdf5
 %! savefile= tmpnam();
 %! as_save=as; save("-hdf5",savefile,"bf","as_save","af");
 %! clear as_save;