Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 6 additions & 4 deletions test/jet.jl
Original file line number Diff line number Diff line change
@@ -1,16 +1,18 @@
# JET integrates tightly with the Julia compiler and is gated to v1.12 only.
# JET integrates tightly with the Julia compiler and is gated to v1.12.x only.
# On 1.10 / 1.11, JET 0.10 may not surface the same findings, which would
# break `broken = true` with "Unexpected Pass". Don't relax this gate.
# break `broken = true` with "Unexpected Pass". On 1.13+ (nightly / pre)
# the compiler shifts faster than JET can track, so findings are noisy and
# unactionable until JET catches up. Don't widen this gate.
#
# Performance analysis (type instabilities / runtime dispatch) — run manually:
# julia --project=. -e 'using DirectTrajOpt, JET; JET.@report_opt some_function(...)'

@testitem "JET correctness analysis" tags=[:jet] begin
if VERSION >= v"1.12"
if v"1.12" <= VERSION < v"1.13"
using JET, DirectTrajOpt
JET.test_package(DirectTrajOpt; target_modules = (DirectTrajOpt,))
else
@info "Skipping JET correctness analysis on Julia $VERSION (requires >= 1.12)"
@info "Skipping JET correctness analysis on Julia $VERSION (gated to 1.12.x)"
@test true
end
end
Loading