diff scripts/testfun/runtests.m @ 18070:ff05d5b70411

Deprecate find_dir_in_path in favor of dir_in_path. * NEWS: Announce deprecation of find_dir_in_path and new function dir_in_path. * scripts/deprecated/find_dir_in_path.m: Add script to call dir_in_path and give deprecation warning. * scripts/deprecated/module.mk: Add deprecated find_dir_in_path.m to build system. * utils.cc (Fdir_in_path): Renamed find_dir_in_path to dir_in_path. * help.m, what.m, rundemos.m, runtests.m: Chane instances of find_dir_in_path to dir_in_path. * utils.cc, variables.cc: Change seealso links to point to dir_in_path. * func.txi: Document dir_in_path function.
author Rik <rik@octave.org>
date Tue, 03 Dec 2013 15:59:56 -0800
parents b675665ce328
children 1e27079409bf
line wrap: on
line diff
--- a/scripts/testfun/runtests.m	Tue Dec 03 16:06:46 2013 -0800
+++ b/scripts/testfun/runtests.m	Tue Dec 03 15:59:56 2013 -0800
@@ -42,7 +42,7 @@
       if (directory(end) == '/' || directory(end) == '\')
         directory(end) = [];
       endif
-      fullname = find_dir_in_path (directory);
+      fullname = dir_in_path (directory);
       if (isempty (fullname))
         error ("runtests: DIRECTORY argument must be a valid pathname");
       endif