File tree Expand file tree Collapse file tree 2 files changed +14
-0
lines changed Expand file tree Collapse file tree 2 files changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -237,6 +237,14 @@ JET.@test_opt
237
237
JET.test_opt
238
238
```
239
239
240
+ ### [ Splitting and filtering reports] (@id optanalysis-splitting)
241
+
242
+ The output of ` JET.@report_opt ` can be split into individual failures for integration with tools like Cthulhu:
243
+ ``` @docs
244
+ JET.get_reports
245
+ JET.reportkey
246
+ ```
247
+
240
248
### [ Top-level Entry Points] (@id optanalysis-toplevel-entry)
241
249
242
250
By default, JET doesn't offer top-level entry points for the optimization analysis, because it's usually used for only a
Original file line number Diff line number Diff line change @@ -410,6 +410,12 @@ function get_result(result::JETCallResult)
410
410
return result. result. result
411
411
end
412
412
end
413
+
414
+ """
415
+ rpts = JET.get_reports(result::JETCallResult)
416
+
417
+ Split `result` into a vector of reports, one per issue.
418
+ """
413
419
function get_reports (result:: JETCallResult )
414
420
reports = get_reports (result. analyzer, result. result)
415
421
return configured_reports (reports; result. jetconfigs... )
You can’t perform that action at this time.
0 commit comments