Skip to content

Commit

Permalink
allow Hecke.test_module("bla", false) again
Browse files Browse the repository at this point in the history
a suggestion only.
  • Loading branch information
fieker committed Aug 10, 2023
1 parent b055617 commit fa37983
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions src/Hecke.jl
Original file line number Diff line number Diff line change
Expand Up @@ -462,8 +462,8 @@ function test_module(x, new::Bool = true; long::Bool = false, with_gap::Bool = f
Hecke.@eval _with_polymake = $with_polymake
assertions(true)
@info("Running tests for $x in same session")
include(setup_file)
include(test_file)
Base.include(Main, setup_file)
Base.include(Main, test_file)
assertions(false)
end
end
Expand Down
6 changes: 3 additions & 3 deletions test/setup.jl
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ end

Hecke.assertions(true)

if long_test
if Hecke.long_test
macro long_test(ex)
ex
end
Expand All @@ -33,7 +33,7 @@ else
end
end

if _with_gap
if Hecke._with_gap
macro with_gap(ex)
ex
end
Expand All @@ -43,7 +43,7 @@ else
end
end

if _with_polymake
if Hecke._with_polymake
macro with_polymake(ex)
ex
end
Expand Down

0 comments on commit fa37983

Please sign in to comment.