* lib/utils.exp (absolute): Remove proc.
authorBen Elliston <bje@gnu.org>
Sat, 20 Feb 2016 00:44:30 +0000 (11:44 +1100)
committerBen Elliston <bje@gnu.org>
Sat, 20 Feb 2016 00:44:30 +0000 (11:44 +1100)
* doc/ref.xml: Update documentation.
* doc/dejagnu.texi: Regenerate.

ChangeLog
doc/dejagnu.texi
doc/ref.xml
lib/utils.exp

index 82f5520..e829271 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
 2016-02-20  Ben Elliston  <bje@gnu.org>
 
+       * lib/utils.exp (absolute): Remove proc.
+       * doc/ref.xml: Update documentation.
+       * doc/dejagnu.texi: Regenerate.
+
+2016-02-20  Ben Elliston  <bje@gnu.org>
+
        * lib/utils.exp (psource): Remove proc.
        * doc/ref.xml: Update documentation.
        * doc/dejagnu.texi: Regenerate.
index f57319d..0b7cf17 100644 (file)
@@ -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
index 021a63d..b8503ab 100644 (file)
          in the lib directory of the testsuite.</para>
        </sect4>
 
-       <sect4 id="absolute" xreflabel="absolute procedure">
-         <title>Absolute Procedure</title>
-         <para>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.</para>
-       </sect4>
-
        <sect4 id="runtestfilep" xreflabel="runtest_file_p procedure">
          <title>Runtest_file_p Procedure</title>
 
index 0002851..471109e 100644 (file)
@@ -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
 #