changeset 21132:6586ccfc61d6

* doc.m: Make test conditional on ENABLE_DOCS.
author John W. Eaton <jwe@octave.org>
date Thu, 21 Jan 2016 18:18:34 -0500
parents 54527108599a
children 31674b9d202b
files scripts/help/doc.m
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/scripts/help/doc.m	Thu Jan 21 18:18:16 2016 -0500
+++ b/scripts/help/doc.m	Thu Jan 21 18:18:34 2016 -0500
@@ -121,7 +121,7 @@
 endfunction
 
 
-%!test
+%!testif ENABLE_DOCS
 %! ifile = info_file ();
 %! if (exist (ifile) != 2 && exist (sprintf ("%s.gz", ifile)) != 2)
 %!   error ("Info file %s or %s.gz does not exist!", ifile, ifile);