2016-02-20 Ben Elliston <bje@gnu.org>
+ * lib/utils.exp (psource): Remove proc.
+ * doc/ref.xml: Update documentation.
+ * doc/dejagnu.texi: Regenerate.
+
+2016-02-20 Ben Elliston <bje@gnu.org>
+
* lib/targetdb.exp (board_info): Simplify return logic.
2016-02-19 Ben Elliston <bje@gnu.org>
* Prune Procedure: prune procedure.
* Slay Procedure: slay procedure.
* Absolute Procedure: absolute procedure.
-* Psource Procedure: psource procedure.
* Runtest_file_p Procedure: runtest_file_p procedure.
* Diff Procedure: diff procedure.
* Setenv Procedure: setenv procedure.
procedure, a copy of the procedure should be made and placed
in the lib directory of the testsuite.
-@node absolute procedure, psource procedure, slay procedure, Utility Procedures
+@node absolute procedure, runtest_file_p procedure, slay procedure, Utility Procedures
@subsubsection Absolute Procedure
This procedure is deprecated and will be removed in
procedure, a copy of the procedure should be made and placed
in the lib directory of the testsuite.
-@node psource procedure, runtest_file_p procedure, absolute procedure, Utility Procedures
-@subsubsection Psource 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, psource procedure, Utility Procedures
+@node runtest_file_p procedure, diff procedure, absolute procedure, Utility Procedures
@subsubsection Runtest_file_p Procedure
Search @emph{runtest}s for
in the lib directory of the testsuite.</para>
</sect4>
- <sect4 id="psource" xreflabel="psource procedure">
- <title>Psource 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>
return $path
}
-#
-# Source a file and trap any real errors. This ignores extraneous
-# output. returns a 1 if there was an error, otherwise it returns 0.
-#
-proc psource { file } {
- global errorInfo
- global errorCode
- unset errorInfo
- if {[file exists $file]} {
- catch "source $file"
- if {[info exists errorInfo]} {
- send_error "ERROR: errors in $file\n"
- send_error "$errorInfo"
- return 1
- }
- }
- return 0
-}
-
-#
# Check if a testcase should be run or not
#
# RUNTESTS is a copy of global `runtests'.