summaryrefslogtreecommitdiff
path: root/tests/unit/map65/test_map65_deep_search_cache.f90
diff options
context:
space:
mode:
authorChristoph Berg <myon@debian.org>2026-10-09 14:12:49 +0200
committerChristoph Berg <myon@debian.org>2026-10-09 14:12:49 +0200
commit76956486fa7ef52a51d4e56df1e13a9f19a6c93c (patch)
treefe0c394439fdc167d1970372e8998874090854dd /tests/unit/map65/test_map65_deep_search_cache.f90
parent0685fcada9f95fe90f70b387cd7d757da8209624 (diff)
parentffc62c792c9a5196cb4ce7a353287dfe20db6524 (diff)
Update upstream source from tag 'upstream/3.3.0_beta1+dfsg'
Update to upstream version '3.3.0~beta1+dfsg' with Debian dir 85037bbb9376721108594b59b54ead82ac6924a3
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')