diff scripts/geometry/convhull.m @ 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 a1dbe9d80eee
children eb63fbe60fab
line wrap: on
line diff
--- a/scripts/geometry/convhull.m
+++ b/scripts/geometry/convhull.m
@@ -73,7 +73,7 @@
   H(n + 1) = H(1);
 endfunction
 
-%!test
+%!testif HAVE_QHULL
 %! x = -3:0.5:3;
 %! y = abs (sin (x));
 %! assert (convhull (x, y, {"s","Qci","Tcv","Pp"}), [1;7;13;12;11;10;4;3;2;1])