1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-22 17:48:01 +02:00

Fixed attribute processing

This commit is contained in:
Brian Fiete 2024-10-25 18:32:42 -04:00
parent 1f539595e0
commit e263f3a37f

View file

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