* lib/framework.exp (log_and_exit): Set tool to "testrun" if
authorStephen Tridgell <stephen.tridgell@exablaze.com>
Wed, 18 Feb 2015 02:07:30 +0000 (13:07 +1100)
committerBen Elliston <bje@gnu.org>
Wed, 18 Feb 2015 02:07:30 +0000 (13:07 +1100)
unset.

Signed-off-by: Ben Elliston <bje@gnu.org>
ChangeLog
lib/framework.exp

index 33e85f0..2c2cd3e 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2015-02-18  Ben Elliston  <bje@gnu.org>
+
+       * lib/framework.exp (log_and_exit): Set tool to "testrun" if
+       unset.
+
 2015-02-05  Ben Elliston  <bje@gnu.org>
 
        * doc/runtest.1: Fix a spelling error.
index 32aaa74..4c3f014 100644 (file)
@@ -368,6 +368,9 @@ proc log_and_exit {} {
     cleanup
     verbose -log "runtest completed at [timestamp -format %c]"
     if {$mail_logs} {
+       if { ${tool} ==  "" } {
+           set tool testrun
+       }
        mail_file $outdir/$tool.sum $mailing_list "Dejagnu Summary Log"
     }
     remote_close host