aboutsummaryrefslogtreecommitdiff
path: root/src/testing/testing.odin
diff options
context:
space:
mode:
authorDaniel Gavin <danielgavin5@hotmail.com>2021-09-07 20:35:32 +0200
committerDaniel Gavin <danielgavin5@hotmail.com>2021-09-07 20:35:32 +0200
commit610dffa617f9e2059ef533b3845a31a6daade10e (patch)
tree6ee448e9a7ea3a742467e85c030ea2afa7d3d8fd /src/testing/testing.odin
parentbeb847bdb64ef80cb77e5f9d609c8ffedce6e963 (diff)
Add arena in static indexing, and add tests to check the builtin indexed files.
Diffstat (limited to 'src/testing/testing.odin')
-rw-r--r--src/testing/testing.odin3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/testing/testing.odin b/src/testing/testing.odin
index 07bf75d..4720497 100644
--- a/src/testing/testing.odin
+++ b/src/testing/testing.odin
@@ -74,7 +74,8 @@ setup :: proc(src: ^Source) {
There is a lot code here that is used in the real code, then i'd like to see.
*/
- index.indexer.static_index = index.make_memory_index(index.make_symbol_collection(context.allocator, &common.config));
+ index.build_static_index(context.allocator, &common.config);
+
index.indexer.dynamic_index = index.make_memory_index(index.make_symbol_collection(context.allocator, &common.config));
for src_pkg in src.packages {