summaryrefslogtreecommitdiff
path: root/tests/unit/map65/test_map65_deep_search_cache.f90
diff options
context:
space:
mode:
authorDave Hibberd <hibby@debian.org>2026-10-20 22:35:06 +0100
committerDave Hibberd <hibby@debian.org>2026-10-20 22:35:06 +0100
commit82ebb1ed1af30cee4dfbb1c628431d32885a00e0 (patch)
tree1a1f782d3e576b758be0bc61171574a7cd8f2376 /tests/unit/map65/test_map65_deep_search_cache.f90
parent061658210acb6425517733ea012dda803a7f72a1 (diff)
parent61d684922b0f1c8455cc60eb3d123df058c9e1f5 (diff)
Merge tag 'debian/3.3.0_beta2+dfsg-1' into hibbian/trixie-backports
tagging wsjtx 3.3.0~beta2+dfsg-1
Diffstat (limited to 'tests/unit/map65/test_map65_deep_search_cache.f90')
-rw-r--r--tests/unit/map65/test_map65_deep_search_cache.f905
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/unit/map65/test_map65_deep_search_cache.f90 b/tests/unit/map65/test_map65_deep_search_cache.f90
index 6479bcad..a30b1165 100644
--- a/tests/unit/map65/test_map65_deep_search_cache.f90
+++ b/tests/unit/map65/test_map65_deep_search_cache.f90
@@ -130,8 +130,9 @@ contains
integer :: cached_count
cached_count = ntot
- cached_messages = testmsg(1:ntot)
- cached_symbols = ncode(:, 1:ntot)
+ allocate(cached_messages(cached_count), cached_symbols(size(ncode, 1), cached_count))
+ cached_messages(:) = testmsg(1:cached_count)
+ cached_symbols(:, :) = ncode(:, 1:cached_count)
call build_fresh(local_call, dx_call, dx_grid, eme_only)
call require(ntot == cached_count, description//': cached and fresh candidate counts match')
call require(all(testmsg(1:ntot) == cached_messages), description//': cached and fresh messages match')