Browse Source

Set sum_file to empty string instead of opening a temporary file named .tmp.

farm
Jacob Bachmeyer 6 years ago
committed by Rob Savoye
parent
commit
a0fc110b7e
  1. 6
      ChangeLog
  2. 2
      testsuite/runtest.libs/default_procs.tcl
  3. 3
      testsuite/runtest.libs/libs.exp

6
ChangeLog

@ -1,3 +1,9 @@
2020-05-20 Jacob Bachmeyer <jcb62281+dev@gmail.com>
* testsuite/runtest.libs/default_procs.tcl: Set sum_file to empty
string instead of opening a temporary file named .tmp.
* testsuite/runtest.libs/libs.exp: No longer need to remove .tmp.
2020-05-20 Jacob Bachmeyer <jcb62281+dev@gmail.com>
* testsuite/runtest.libs/target.test: Rename fake "target_info"

2
testsuite/runtest.libs/default_procs.tcl

@ -1,4 +1,4 @@
set sum_file [open .tmp w]
set sum_file ""
set reboot 0
set errno ""

3
testsuite/runtest.libs/libs.exp

@ -101,6 +101,3 @@ foreach i [glob [testsuite file -source -test *.test]] {
if { [runtest_file_p $runtests $i] } { process_test $i }
}
stop_expect
# Clean up behind ourselves.
file delete .tmp

Loading…
Cancel
Save