more fixes
Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com>
This commit is contained in:
@@ -825,7 +825,7 @@ const int comparePathNames(const char* cpFirst, const char* cpSecond, unsigned i
|
||||
return memicmp(first.c_str(), second.c_str(), length);
|
||||
}
|
||||
|
||||
#if defined(FIX_FILENAME_CASE)
|
||||
#if FIX_FILENAME_CASE
|
||||
static bool FixOnePathElement(char* path)
|
||||
{
|
||||
if (*path == '\0')
|
||||
|
||||
+4
-2
@@ -64,8 +64,9 @@ namespace TestImpact
|
||||
return !name.starts_with("DISABLED_") && name.find("/DISABLED_") == AZStd::string::npos;
|
||||
};
|
||||
|
||||
const auto getDuration = [](const AZ::rapidxml::xml_node<>* node)
|
||||
const auto getDuration = [Keys](const AZ::rapidxml::xml_node<>* node)
|
||||
{
|
||||
AZ_UNUSED(Keys);
|
||||
const AZStd::string duration = node->first_attribute(Keys[DurationKey])->value();
|
||||
return AZStd::chrono::milliseconds(static_cast<AZStd::sys_time_t>(AZStd::stof(duration) * 1000.f));
|
||||
};
|
||||
@@ -78,8 +79,9 @@ namespace TestImpact
|
||||
for (auto testcase_node = testsuite_node->first_node(Keys[TestCaseKey]); testcase_node;
|
||||
testcase_node = testcase_node->next_sibling())
|
||||
{
|
||||
const auto getStatus = [](const AZ::rapidxml::xml_node<>* node)
|
||||
const auto getStatus = [Keys](const AZ::rapidxml::xml_node<>* node)
|
||||
{
|
||||
AZ_UNUSED(Keys);
|
||||
const AZStd::string status = node->first_attribute(Keys[StatusKey])->value();
|
||||
if (status == Keys[RunKey])
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user