From 9b72e26e5f1ce2fb6f087e1c9b95a069c051eb7b Mon Sep 17 00:00:00 2001 From: Ben Elliston Date: Sat, 20 Feb 2016 11:44:30 +1100 Subject: [PATCH] * lib/utils.exp (absolute): Remove proc. * doc/ref.xml: Update documentation. * doc/dejagnu.texi: Regenerate. --- ChangeLog | 6 ++++++ doc/dejagnu.texi | 13 ++----------- doc/ref.xml | 8 -------- lib/utils.exp | 15 --------------- 4 files changed, 8 insertions(+), 34 deletions(-) diff --git a/ChangeLog b/ChangeLog index 82f5520..e829271 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,11 @@ 2016-02-20 Ben Elliston + * lib/utils.exp (absolute): Remove proc. + * doc/ref.xml: Update documentation. + * doc/dejagnu.texi: Regenerate. + +2016-02-20 Ben Elliston + * lib/utils.exp (psource): Remove proc. * doc/ref.xml: Update documentation. * doc/dejagnu.texi: Regenerate. diff --git a/doc/dejagnu.texi b/doc/dejagnu.texi index f57319d..0b7cf17 100644 --- a/doc/dejagnu.texi +++ b/doc/dejagnu.texi @@ -5414,7 +5414,6 @@ tool, and its version number. * Grep Procedure: grep procedure. * Prune Procedure: prune procedure. * Slay Procedure: slay procedure. -* Absolute Procedure: absolute procedure. * Runtest_file_p Procedure: runtest_file_p procedure. * Diff Procedure: diff procedure. * Setenv Procedure: setenv procedure. @@ -5546,7 +5545,7 @@ the next release of DejaGnu. If a testsuite uses this procedure, a copy of the procedure should be made and placed in the lib directory of the testsuite. -@node slay procedure, absolute procedure, prune procedure, Utility Procedures +@node slay procedure, runtest_file_p procedure, prune procedure, Utility Procedures @subsubsection Slay Procedure This procedure is deprecated and will be removed in @@ -5554,15 +5553,7 @@ the next release of DejaGnu. If a testsuite uses this procedure, a copy of the procedure should be made and placed in the lib directory of the testsuite. -@node absolute procedure, runtest_file_p procedure, slay procedure, Utility Procedures -@subsubsection Absolute Procedure - -This procedure is deprecated and will be removed in -the next release of DejaGnu. If a testsuite uses this -procedure, a copy of the procedure should be made and placed -in the lib directory of the testsuite. - -@node runtest_file_p procedure, diff procedure, absolute procedure, Utility Procedures +@node runtest_file_p procedure, diff procedure, slay procedure, Utility Procedures @subsubsection Runtest_file_p Procedure Search @emph{runtest}s for diff --git a/doc/ref.xml b/doc/ref.xml index 021a63d..b8503ab 100644 --- a/doc/ref.xml +++ b/doc/ref.xml @@ -3594,14 +3594,6 @@ in the lib directory of the testsuite. - - Absolute Procedure - This procedure is deprecated and will be removed in - the next release of &dj;. If a testsuite uses this - procedure, a copy of the procedure should be made and placed - in the lib directory of the testsuite. - - Runtest_file_p Procedure diff --git a/lib/utils.exp b/lib/utils.exp index 0002851..471109e 100644 --- a/lib/utils.exp +++ b/lib/utils.exp @@ -237,21 +237,6 @@ proc slay { name } { close $in } -# -# Convert a relative path to an absolute one on the local machine. -# -proc absolute { path } { - if {[string match "." $path]} { - return [pwd] - } - - set basedir [pwd] - cd $path - set path [pwd] - cd $basedir - return $path -} - # Check if a testcase should be run or not # -- 2.7.4