Skip to content

Commit

Permalink
fixed LTS tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ThummeTo committed Nov 21, 2023
1 parent 47daa9b commit 8dc59f3
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
2 changes: 1 addition & 1 deletion cross_checks/cross_check.jl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#
#
# Copyright (c) 2021 Tobias Thummerer, Lars Mikelsons, Cristof Baumgartner
# Licensed under the MIT license. See LICENSE file in the project root for details.
#
Expand Down
10 changes: 7 additions & 3 deletions test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -80,9 +80,13 @@ function runtestsFMI2(exportingTool)
end
end

@info "Performance (performance.jl)"
@testset "Performance" begin
include("FMI2/performance.jl")
if VERSION >= v"1.7.0"
@info "Performance (performance.jl)"
@testset "Performance" begin
include("FMI2/performance.jl")
end
else
@info "Julia Version $(VERSION), skipping performance tests ..."
end

@info "Plotting (plots.jl)"
Expand Down

0 comments on commit 8dc59f3

Please sign in to comment.