Skip to content

Commit

Permalink
run jet tests last
Browse files Browse the repository at this point in the history
  • Loading branch information
thofma committed Aug 4, 2024
1 parent 4034bae commit 47b8161
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
9 changes: 5 additions & 4 deletions test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,7 @@ using QuantumSymbolics

# filter for the test
testfilter = ti -> begin
exclude = Symbol[]
if get(ENV,"JET_TEST","")!="true"
push!(exclude, :jet)
end
exclude = Symbol[:jet]
if !(VERSION >= v"1.10")
push!(exclude, :doctests)
push!(exclude, :aqua)
Expand All @@ -18,3 +15,7 @@ end
println("Starting tests with $(Threads.nthreads()) threads out of `Sys.CPU_THREADS = $(Sys.CPU_THREADS)`...")

@run_package_tests filter=testfilter

if get(ENV,"JET_TEST","")=="true"
@run_package_tests filter=(ti -> :jet in ti.tags)
end
1 change: 1 addition & 0 deletions test/test_superop.jl
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
@testitem "Superop" begin
using LinearAlgebra
using QuantumOptics

#
# single qubit
Expand Down

0 comments on commit 47b8161

Please sign in to comment.