PATCH: remove call to obsolete dejagnu proc
Ben Elliston
bje@air.net.au
Tue Apr 19 16:13:00 GMT 2016
In DejaGnu 1.6, the utility procedure 'absolute' has been removed as
it can be implemented with Tcl's own 'file normalize' command. Okay
to commit?
2016-04-20 Ben Elliston <bje@gnu.org>
* testsuite/lib/libjava.exp (libjava_arguments): Use 'file
normalize' rather than the defunct DejaGnu 'absolute' proc.
Index: testsuite/lib/libjava.exp
===================================================================
--- testsuite/lib/libjava.exp (revision 235209)
+++ testsuite/lib/libjava.exp (working copy)
@@ -416,7 +416,7 @@
# Search for libtool. We need it to link.
set found_compiler 0
- set d [absolute $objdir]
+ set d [file normalize $objdir]
foreach x {. .. ../.. ../../..} {
if {[file exists $d/$x/libtool]} then {
# We have to run silently to avoid DejaGNU lossage.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 811 bytes
Desc: Digital signature
URL: <http://gcc.gnu.org/pipermail/java-patches/attachments/20160419/b39bd18a/attachment.sig>
More information about the Java-patches
mailing list