From 8dc59f3a606ee03eb88c6ead637c95c9f2c28bf3 Mon Sep 17 00:00:00 2001 From: TT Date: Tue, 21 Nov 2023 14:50:06 +0100 Subject: [PATCH] fixed LTS tests --- cross_checks/cross_check.jl | 2 +- test/runtests.jl | 10 +++++++--- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/cross_checks/cross_check.jl b/cross_checks/cross_check.jl index fbe49fc6..b9dbe710 100644 --- a/cross_checks/cross_check.jl +++ b/cross_checks/cross_check.jl @@ -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. # diff --git a/test/runtests.jl b/test/runtests.jl index 1926362d..a91f2fce 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -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)"