C++: Update expected test results

This commit is contained in:
Jeroen Ketema
2024-06-21 17:08:43 +02:00
parent 1e46e431e8
commit 285ed3630b
2 changed files with 4 additions and 9 deletions

View File

@@ -15,8 +15,6 @@
| arguments.c | 15 | --edg |
| arguments.c | 16 | __CODEQL_TEST__ |
| arguments.c | 17 | --gcc |
| arguments.c | 18 | --predefined_macros |
| arguments.c | 19 | <tools>/qltest/predefined_macros |
| arguments.c | 20 | -w |
| arguments.c | 21 | -Werror |
| arguments.c | 22 | arguments.c |
| arguments.c | 18 | -w |
| arguments.c | 19 | -Werror |
| arguments.c | 20 | arguments.c |

View File

@@ -4,8 +4,5 @@ from Compilation c, int i, string s
// Skip the extractor name; it'll vary depending on platform
where
i > 0 and
s =
c.getArgument(i)
.replaceAll("\\", "/")
.regexpReplaceAll(".*(/qltest/predefined_macros)", "<tools>$1")
s = c.getArgument(i).replaceAll("\\", "/")
select c.getAFileCompiled().toString(), i, s