Skip to content

Commit 64d719f

Browse files
authored
Run more tests in isolation (#424)
1 parent 5373e00 commit 64d719f

File tree

4 files changed

+11
-3
lines changed

4 files changed

+11
-3
lines changed

test/breakpoints.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ end
2020
close(io)
2121
include(tmppath)
2222

23-
using JuliaInterpreter, Test
23+
using JuliaInterpreter, CodeTracking, Test
2424

2525
function stacklength(frame)
2626
n = 1

test/interpret.jl

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ using Test, InteractiveUtils, CodeTracking
44
using Mmap
55
using LinearAlgebra
66

7+
if !isdefined(@__MODULE__, :runframe)
8+
include("utils.jl")
9+
end
10+
711
module Isolated end
812

913
function summer(A)

test/limits.jl

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# This is a test-for-tests, verifying the code in utils.jl.
2-
using Test
2+
if !isdefined(@__MODULE__, :read_and_parse)
3+
include("utils.jl")
4+
end
35

46
@testset "Abort" begin
57
ex = Base.parse_input_line("""

test/toplevel.jl

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
using JuliaInterpreter, Test, Random
1+
if !isdefined(@__MODULE__, :read_and_parse)
2+
include("utils.jl")
3+
end
24

35
module JIVisible
46
module JIInvisible

0 commit comments

Comments
 (0)