Adding support for Gauntlet Test nodes to query what run they are on and how many total runs there are for the current test instance.

#rb Andrew.Grant
#rnx


#ROBOMERGE-SOURCE: CL 5011159 via CL 5013684

[CL 5038189 by william ewen in Main branch]
This commit is contained in:
william ewen
2019-02-18 12:13:36 -05:00
parent 98bc8dfdcd
commit 157dfd9d37

View File

@@ -854,6 +854,23 @@ namespace Gauntlet
return ExitCode;
}
/// <summary>
/// Returns the current Pass count for this node
/// </summary>
public int GetCurrentPass()
{
return CurrentPass;
}
/// <summary>
/// Returns the current total Pass count for this node
/// </summary>
/// <returns></returns>
public int GetNumPasses()
{
return NumPasses;
}
/// <summary>
/// Result of the test once completed. Nodes inheriting from us should override
/// this if custom results are necessary