|
@@ -388,10 +388,25 @@ namespace IDE
|
|
|
testEntry.mLine = int32.Parse(cmdParts[3]).Get();
|
|
|
testEntry.mColumn = int32.Parse(cmdParts[4]).Get();
|
|
|
|
|
|
- testEntry.mShouldFail = attribs.Contains("Sf");
|
|
|
- testEntry.mProfile = attribs.Contains("Pr");
|
|
|
- testEntry.mIgnore = attribs.Contains("Ig");
|
|
|
|
|
|
+ List<StringView> attributes = scope .(attribs.Split('\a'));
|
|
|
+ for(var i in attributes)
|
|
|
+ {
|
|
|
+ if(i.StartsWith('\v'))
|
|
|
+ {
|
|
|
+ if(i == "\vSf")
|
|
|
+ testEntry.mShouldFail = true;
|
|
|
+ else if(i == "\vPr")
|
|
|
+ testEntry.mProfile = true;
|
|
|
+ else if(i == "\vIg")
|
|
|
+ testEntry.mIgnore = true;
|
|
|
+ }
|
|
|
+ else if(i.StartsWith("Name"))
|
|
|
+ {
|
|
|
+ testEntry.mName.Clear();
|
|
|
+ scope String(i.Substring("Name".Length)).Escape(testEntry.mName);
|
|
|
+ }
|
|
|
+ }
|
|
|
testInstance.mTestEntries.Add(testEntry);
|
|
|
}
|
|
|
}
|