Changeset 4533 for branches/1.3/tester


Ignore:
Timestamp:
Jul 17, 2014 11:48:21 AM (6 years ago)
Author:
gah
Message:

update regression tester

Location:
branches/1.3/tester/scripts
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • branches/1.3/tester/scripts/Makefile.in

    r3471 r4533  
    1818
    1919FILES           = \
     20                $(srcdir)/auto.tcl \
    2021                $(srcdir)/main.tcl \
    2122                $(srcdir)/legend.tcl \
  • branches/1.3/tester/scripts/main.tcl

    r3177 r4533  
    1717#  USAGE: tester.tcl ?-tool tool.xml? ?-testdir tests?
    1818# ======================================================================
    19 #  AUTHOR: Ben Rafferty, Purdue University
     19#  AUTHORS:  Michael McLennan, Ben Rafferty, Purdue University
    2020#  Copyright (c) 2004-2012  HUBzero Foundation, LLC
    2121#
     
    136136set installdir [file dirname [file normalize $params(-tool)]]
    137137set xmlobj [Rappture::library $params(-tool)]
    138 set ToolObj [Rappture::Tool ::#auto $xmlobj $installdir]
     138set TaskObj [Rappture::Task ::#auto $xmlobj $installdir]
     139
     140# tasks in the tester run quietly and discard results
     141$TaskObj configure -jobstats "" -resultdir ""
     142
    139143set DiffShow ""  ;# used to track which diff objects are being displayed
    140144
     
    296300set testtree [.pw pane 0].tree
    297301foreach file [glob -nocomplain -directory $params(-testdir) *.xml] {
    298     set testobj [Rappture::Tester::Test ::#auto $ToolObj $file]
     302    set testobj [Rappture::Tester::Test ::#auto $TaskObj $file]
    299303    if {[$testobj getTestInfo test.label] eq ""} {
    300304        puts stderr "ERROR:  Missing test label in $file"
Note: See TracChangeset for help on using the changeset viewer.