Skip to content

Commit 573c5c4

Browse files
committed
Use test workspace for IncrementalInference sources
1 parent 8001cf5 commit 573c5c4

2 files changed

Lines changed: 5 additions & 41 deletions

File tree

test/Project.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,3 +29,7 @@ LinearAlgebra = "1.11"
2929
Pkg = "1.4, 1.5"
3030
Statistics = "1.11"
3131
Test = "1.11"
32+
33+
[sources]
34+
IncrementalInference = {url = "https://github.com/JuliaRobotics/IncrementalInference.jl", rev = "release/v0.37", subdir = "IncrementalInference"}
35+
IncrementalInferenceTypes = {url = "https://github.com/JuliaRobotics/IncrementalInference.jl", rev = "release/v0.37", subdir = "IncrementalInferenceTypes"}

test/runtests.jl

Lines changed: 1 addition & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -76,47 +76,7 @@ DFG.@usingDFG true
7676
end
7777
end
7878

79-
if get(ENV, "IIF_TEST", "true") == "true"
80-
81-
# Switch to our upstream test branch.
82-
#FIXME This is a temporary fix to use the develop branch of AMP.
83-
# Pkg.add(PackageSpec(; name = "ApproxManifoldProducts", rev = "develop"))
84-
#FIXME This is a temporary fix to use the develop branch of IIF.
85-
# Pkg.add(PackageSpec(; name = "IncrementalInference", rev = "upstream/dfg_integration_test"))
86-
# Pkg.add(PackageSpec(; name = "IncrementalInference", rev = "develop"))
87-
if get(ENV, "IIF_TEST_DEV", "true") == "true"
88-
Pkg.add(
89-
PackageSpec(;
90-
url = "https://github.com/JuliaRobotics/IncrementalInference.jl.git",
91-
subdir = "IncrementalInferenceTypes",
92-
rev = "develop",
93-
),
94-
)
95-
Pkg.add(
96-
PackageSpec(;
97-
url = "https://github.com/JuliaRobotics/IncrementalInference.jl.git",
98-
subdir = "IncrementalInference",
99-
rev = "develop",
100-
),
101-
)
102-
else
103-
Pkg.develop(;
104-
path = joinpath(
105-
DEPOT_PATH[1],
106-
"dev",
107-
"IncrementalInference",
108-
"IncrementalInferenceTypes",
109-
),
110-
)
111-
Pkg.develop(;
112-
path = joinpath(
113-
DEPOT_PATH[1],
114-
"dev",
115-
"IncrementalInference",
116-
"IncrementalInference",
117-
),
118-
)
119-
end
79+
if get(ENV, "IIF_TEST", "true") == "true"
12080

12181
@info "------------------------------------------------------------------------"
12282
@info "These tests are using IncrementalInference to do additional driver tests"

0 commit comments

Comments
 (0)