Skip to content

Commit

Permalink
Update test/ParallelKernel/test_allocators.jl
Browse files Browse the repository at this point in the history
Co-authored-by: Samuel Omlin <[email protected]>
  • Loading branch information
GiackAloZ and omlins authored Oct 30, 2024
1 parent 325defa commit 7826b4d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/ParallelKernel/test_allocators.jl
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ end
Base.retry_load_extensions() # Potentially needed to load the extensions after the packages have been filtered.
const DATA_INDEX = ParallelStencil.INT_THREADS # TODO: using Data.Index does not work in combination with @reset_parallel_kernel, because the macros from module Test alternate the order of evaluation, resulting in the Data module being replaced with an empty module before Data.Index is evaluated. If at some point the indexing varies depending on the used package, then something more sophisticated is needed here (e.g., wrapping the test for each package in a module and using then Data.Index everywhere).

for package in TEST_PACKAGES
@static for package in TEST_PACKAGES

eval(:(
@testset "$(basename(@__FILE__)) (package: $(nameof($package)))" begin
Expand Down

0 comments on commit 7826b4d

Please sign in to comment.