buildbox-1.5.2.1: Rehackable components for writing buildbots and test harnesses.

BuildBox.FileFormat.BuildResults

Synopsis

Documentation

mergeResults :: [BuildResults] -> BuildResultsSource

Merge some BuildResults. If we have data for a named benchmark in multiple BuildResults, then we take the first one in the list. The resultTime and environment is taken from the last BuildResults, in the list.

acceptResult :: String -> BuildResults -> BuildResults -> Maybe BuildResultsSource

Take test results from the first BuildResults, except for the named one which we take from the second. If the named test is not in the second then take it from the first. If it's not anywhere then Nothing.

advanceResults :: Double -> BuildResults -> BuildResults -> BuildResultsSource

Advance benchmark results as per advanceBenchResults. The resultTime and environment is taken from the second BuildResults.