Browse Source

Fix problems with relative srcdir in testsuite/runtest.main/options.exp

farm
Jacob Bachmeyer 6 years ago
parent
commit
205b28531d
  1. 4
      ChangeLog
  2. 2
      testsuite/runtest.main/options.exp

4
ChangeLog

@ -1,5 +1,9 @@
2020-05-28 Jacob Bachmeyer <jcb62281+dev@gmail.com>
PR 41587
* testsuite/runtest.main/options.exp: Set outdir in options-init
instead of changing working directory in child runtest.
* runtest.exp (logname): Move verbose display of logname to
immediately after finding the user's login name.

2
testsuite/runtest.main/options.exp

@ -29,7 +29,7 @@ puts $fd "set host_triplet $host_triplet"
puts $fd "set srcdir [testsuite file -source -test options]"
puts $fd "set objdir [testsuite file -object -test options]"
puts $fd "set tmpdir $tmpdir"
puts $fd "cd [testsuite file -object -test options]"
puts $fd "set outdir [testsuite file -object -test options]"
close $fd
if {![file isdirectory $tmpdir]} {

Loading…
Cancel
Save