- Implemented regresion tests for batch processing, scans,

histmem and peak optimization
This commit is contained in:
koennecke
2006-10-20 14:57:27 +00:00
parent c944db2bba
commit 79b0f40e50
19 changed files with 1806 additions and 5 deletions

View File

@@ -138,4 +138,19 @@ proc testInterruptedCount {startCommand} {
error "Failed to finish counting"
}
return OK
}
}
#------------------------------------------------------------------------
proc testOK {command} {
set test [eval $command]
if {[string first OK $test] < 0} {
error [format "Expected OK, got %s" $test]
}
}
#------------------------------------------------------------------------
proc testCommand {command response} {
set result [eval $command]
if {[string first $response $result] < 0} {
error "Expected $response, received $result"
}
return OK
}