diff test/fntests.m @ 11227:84846912f3c1

test/fntests.m: run tests for deprecated functions
author John W. Eaton <jwe@octave.org>
date Wed, 10 Nov 2010 16:04:55 -0500
parents 3b8817c91e31
children fd0a3ac60b0e
line wrap: on
line diff
--- a/test/fntests.m
+++ b/test/fntests.m
@@ -136,7 +136,7 @@
   for i = 1:length (lst)
     nm = lst(i).name;
     if (lst(i).isdir && ! strcmp (nm, ".") && ! strcmp (nm, "..")
-        && ! strcmp (nm, "CVS") && ! strcmp (nm, "deprecated") )
+        && ! strcmp (nm, "CVS"))
       [p, n, xf, sk] = run_test_script (fid, [d, "/", nm]);
       dp += p;
       dn += n;
@@ -215,6 +215,7 @@
 warning ("on", "quiet");
 try
   page_screen_output (0);
+  warning ("off", "Octave:deprecated-functions");
   fid = fopen ("fntests.log", "wt");
   if (fid < 0)
     error ("could not open fntests.log for writing");