@@ -7,24 +7,25 @@ isdefined(Main, :pruned_old_LA) || @eval Main include("prune_old_LA.jl")
7
7
using Test, LinearAlgebra, Random
8
8
using LinearAlgebra: BlasReal, BlasFloat
9
9
10
- const BASE_TEST_PATH = joinpath (Sys. BINDIR, " .." , " share" , " julia" , " test" )
10
+ const BASE_TEST_PATH = joinpath (dirname (pathof (LinearAlgebra)), " .." , " test" )
11
+ const TESTHELPERS = joinpath (BASE_TEST_PATH, " testhelpers" )
11
12
12
- isdefined (Main, :Quaternions ) || @eval Main include (joinpath ($ (BASE_TEST_PATH), " testhelpers " , " Quaternions.jl" ))
13
+ isdefined (Main, :Quaternions ) || @eval Main include (joinpath ($ TESTHELPERS , " Quaternions.jl" ))
13
14
using . Main. Quaternions
14
15
15
- isdefined (Main, :InfiniteArrays ) || @eval Main include (joinpath ($ (BASE_TEST_PATH), " testhelpers " , " InfiniteArrays.jl" ))
16
+ isdefined (Main, :InfiniteArrays ) || @eval Main include (joinpath ($ TESTHELPERS , " InfiniteArrays.jl" ))
16
17
using . Main. InfiniteArrays
17
18
18
- isdefined (Main, :FillArrays ) || @eval Main include (joinpath ($ (BASE_TEST_PATH), " testhelpers " , " FillArrays.jl" ))
19
+ isdefined (Main, :FillArrays ) || @eval Main include (joinpath ($ TESTHELPERS , " FillArrays.jl" ))
19
20
using . Main. FillArrays
20
21
21
- isdefined (Main, :OffsetArrays ) || @eval Main include (joinpath ($ (BASE_TEST_PATH), " testhelpers " , " OffsetArrays.jl" ))
22
+ isdefined (Main, :OffsetArrays ) || @eval Main include (joinpath ($ TESTHELPERS , " OffsetArrays.jl" ))
22
23
using . Main. OffsetArrays
23
24
24
- isdefined (Main, :SizedArrays ) || @eval Main include (joinpath ($ (BASE_TEST_PATH), " testhelpers " , " SizedArrays.jl" ))
25
+ isdefined (Main, :SizedArrays ) || @eval Main include (joinpath ($ TESTHELPERS , " SizedArrays.jl" ))
25
26
using . Main. SizedArrays
26
27
27
- isdefined (Main, :ImmutableArrays ) || @eval Main include (joinpath ($ (BASE_TEST_PATH), " testhelpers " , " ImmutableArrays.jl" ))
28
+ isdefined (Main, :ImmutableArrays ) || @eval Main include (joinpath ($ TESTHELPERS , " ImmutableArrays.jl" ))
28
29
using . Main. ImmutableArrays
29
30
30
31
include (" testutils.jl" ) # test_approx_eq_modphase
0 commit comments