summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Elliston <bje@gnu.org>2016-02-20 11:44:30 +1100
committerBen Elliston <bje@gnu.org>2016-02-20 11:44:30 +1100
commit9b72e26e5f1ce2fb6f087e1c9b95a069c051eb7b (patch)
treeb9dc66baf3db7104ade00feb199c1990a20a26a6
parent312891d5f1d7ea719e1ebd76a7b3eb20e958a6b6 (diff)
downloaddejagnu-9b72e26e5f1ce2fb6f087e1c9b95a069c051eb7b.tar.gz
dejagnu-9b72e26e5f1ce2fb6f087e1c9b95a069c051eb7b.tar.bz2
dejagnu-9b72e26e5f1ce2fb6f087e1c9b95a069c051eb7b.zip
* lib/utils.exp (absolute): Remove proc.
* doc/ref.xml: Update documentation. * doc/dejagnu.texi: Regenerate.
-rw-r--r--ChangeLog6
-rw-r--r--doc/dejagnu.texi13
-rw-r--r--doc/ref.xml8
-rw-r--r--lib/utils.exp15
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 <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.
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.</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>
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
#