File tree Expand file tree Collapse file tree 1 file changed +14
-1
lines changed
Expand file tree Collapse file tree 1 file changed +14
-1
lines changed Original file line number Diff line number Diff line change 11using Test
22
33# TODO fix allocation tests
4- # see: https://github.com/JuliaArrays/FixedSizeArrays.jl/blob/d17373edf4144a672cd80a062bf24d017f01e42f/test/runtests.jl#L6-L17
54# and: https://github.com/JuliaArrays/FixedSizeArrays.jl/blob/d17373edf4144a672cd80a062bf24d017f01e42f/.github/workflows/UnitTests.yml
5+
6+ # Check if the compilation options allow maximum performance.
7+ const build_is_production_build_env_name = " BUILD_IS_PRODUCTION_BUILD"
8+ const build_is_production_build = let v = get (ENV , build_is_production_build_env_name, " true" )
9+ if v ∉ (" false" , " true" )
10+ error (" unknown value for environment variable $build_is_production_build_env_name : $v " )
11+ end
12+ if v == " true"
13+ true
14+ else
15+ false
16+ end
17+ end :: Bool
18+
619cd (" .." )
720println (" Running tests..." )
821@testset verbose = true " Testing VortexStepMethod..." begin
You can’t perform that action at this time.
0 commit comments