[pushed] testsuite: add verify-sarif-file to some testcases that were missing it
Checks
Commit Message
Pushed to trunk as r14-1420-ge4c8f7024f02d8.
gcc/testsuite/ChangeLog:
* gcc.dg/analyzer/malloc-sarif-1.c: Add missing verify-sarif-file
directive.
* gcc.dg/analyzer/sarif-pr107366.c: Likewise.
---
gcc/testsuite/gcc.dg/analyzer/malloc-sarif-1.c | 2 ++
gcc/testsuite/gcc.dg/analyzer/sarif-pr107366.c | 1 +
2 files changed, 3 insertions(+)
@@ -12,6 +12,8 @@ void test_1 (void)
/* Verify SARIF output.
+ { dg-final { verify-sarif-file } }
+
The threadFlowLocation objects should have "kinds" properties
reflecting the meanings of the events:
{ dg-final { scan-sarif-file "\"kinds\": \\\[\"acquire\", \"memory\"\\\]" } }
@@ -18,3 +18,4 @@ hwloc_apply_diff_one() {
}
}
+/* { dg-final { verify-sarif-file } } */