# Runs all tests with the extention "multi" for several times. # Each testprogram .multi has an own subdirectory # in which several testcases are defined for this program # Each testcase has 3 files: # # .in # .out # .err # # The program ".multi" will be called with the argument # ".in". The standard output will be compared with the # files ".out" and ".err". # The testcase is successful if the program returns 0 AND the outputs # are identically equal to the files ".out" and # ".err". if { [catch { set filenames [glob $srcdir/*.multi] } ] } { puts "No .multi files found" } else { # foreach file, call multi-run (from testsuite/lib) foreach file $filenames { multi-run $file } }