module deqp.tests.result
Contains code and classes for managing tests results.
Code Map
//! Contains code and classes for managing tests results.
module deqp.tests.result;
//! Big enum with all of the status that a test can return. Has extra
//! status to account for dEQP crashing.
enum Result
{
Incomplete,
Fail,
NotSupported,
InternalError,
BadTerminate,
BadTerminatePass,
QualityWarning,
CompatibilityWarning,
Pass,
//! Parser can parse the results.
MalformedResult,
//! For compare, the test wasn't in the regression file.
NotListed,
}
struct Results
{
public:
numFail: u32;
numIncomplete: u32;
numInternalError: u32;
numNotSupported: u32;
numBadTerminate: u32;
numBadTerminatePass: u32;
numPass: u32;
numQualityWarning: u32;
numCompatibilityWarning: u32;
numMalformedResults: u32;
suites: Suite[];
public:
fn getPass() u32 { }
fn getWarn() u32 { }
fn getBad() u32 { }
fn getSkip() u32 { }
fn getIncomplete() u32 { }
fn getTotal() u32 { }
fn count() { }
}
fn isResultPassing(result: Result) bool { }
fn isResultFailing(result: Result) bool { }
fn isResultAndCompareImprovement(result: Result, compare: Result) bool { }
fn isResultAndCompareRegression(result: Result, compare: Result) bool { }
fn isResultAndCompareQualityChange(result: Result, compare: Result) bool { }
fn isResultAndCompareAnyChangeExceptNotListed(result: Result, compare: Result) bool { }
fn isResultAndCompareAnyChange(result: Result, compare: Result) bool { }
enum Result
Big enum with all of the status that a test can return. Has extra status to account for dEQP crashing.
enum MalformedResult
Parser can parse the results.
enum NotListed
For compare, the test wasn't in the regression file.