Skip to content

Commit 117315e

Browse files
committed
Add benchmarks to tests
1 parent 68a7948 commit 117315e

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

test/benchmark_solves.jl

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
1-
# TEST_TIME = true
21
TEST_TIME = false
2+
if !isdefined(Main,:TEST_TIME)
3+
TEST_TIME = true
4+
end
35

46
# Double Integrator
57
solver = ALTROSolver(Problems.DoubleIntegrator()...)

test/runtests.jl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ end
2222

2323
@testset "Full Solves" begin
2424
include("car_tests.jl")
25+
TEST_TIME = false # don't test timing results
26+
include("benchmark_solves.jl")
2527
end
2628

2729
@testset "Solvers" begin

0 commit comments

Comments
 (0)