File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -129,7 +129,7 @@ std::string SuppressionList::parseXmlFile(const char *filename)
129129 if (std::strcmp (name, " id" ) == 0 )
130130 s.errorId = text;
131131 else if (std::strcmp (name, " fileName" ) == 0 )
132- s.fileName = text;
132+ s.fileName = Path::simplifyPath ( text) ;
133133 else if (std::strcmp (name, " lineNumber" ) == 0 )
134134 s.lineNumber = strToInt<int >(text);
135135 else if (std::strcmp (name, " symbolName" ) == 0 )
Original file line number Diff line number Diff line change @@ -3847,6 +3847,7 @@ def test_unmatched_file(tmp_path):
38473847 'lib/test.c:-1:0: information: Unmatched suppression: error [unmatchedSuppression]' ,
38483848 'lib/test.c:-1:0: information: Unmatched suppression: error2 [unmatchedSuppression]' ,
38493849 'lib/test.c:-1:0: information: Unmatched suppression: error3 [unmatchedSuppression]' ,
3850+ 'lib/test.c:-1:0: information: Unmatched suppression: error4 [unmatchedSuppression]' ,
38503851 'lib/test.c:-1:0: information: Unmatched suppression: error5 [unmatchedSuppression]' ,
38513852 'lib/test.c:-1:0: information: Unmatched suppression: error6 [unmatchedSuppression]'
38523853 ]
You can’t perform that action at this time.
0 commit comments