mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-24 12:23:31 +08:00
ld bootstrap test in build dir with path containing symlinks
This allows the bootstrap test to run if you have a symlink somewhere in the build path directory. $ld depends on $base_dir which is set via tcl [pwd], collapsing the symlink like /usr/bin/pwd, while $objdir contains the symlink. * testsuite/ld-bootstrap/bootstrap.exp: Normalize paths when checking for ld build directory.
This commit is contained in:
@ -106,7 +106,7 @@ foreach flags $test_flags {
|
|||||||
|
|
||||||
# This test can only be run if we have the ld build directory,
|
# This test can only be run if we have the ld build directory,
|
||||||
# since we need the object files.
|
# since we need the object files.
|
||||||
if {$ld != "$objdir/ld-new"} {
|
if {[file normalize $ld] != [file normalize $objdir/ld-new]} {
|
||||||
untested $testname
|
untested $testname
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user