@@ -144,7 +144,9 @@ TESTS = \
144
144
145
145
ifneq ($(DEBUG ) ,)
146
146
TESTS += \
147
- tests/func/test_map \
147
+ tests/func/test_btree_set \
148
+ tests/func/test_btree_map \
149
+ tests/func/test_map \
148
150
tests/func/test_unordered_map
149
151
endif
150
152
@@ -186,6 +188,7 @@ perf: $(PERFS_C) $(PERFS_CC) tests/perf/arr/perf_arr_generate
186
188
187
189
$(wildcard tests/perf/lst/perf* .cc?) : $(COMMON_H ) ctl/list.h
188
190
$(wildcard tests/perf/set/perf* .cc?) : $(COMMON_H ) ctl/set.h
191
+ $(wildcard tests/perf/btset/perf* .cc?) : $(COMMON_H ) ctl/btree_set.h
189
192
$(wildcard tests/perf/deq/perf* .cc?) : $(COMMON_H ) ctl/deque.h
190
193
$(wildcard tests/perf/pqu/perf* .cc?) : $(COMMON_H ) ctl/priority_queue.h
191
194
$(wildcard tests/perf/vec/perf* .cc?) : $(COMMON_H ) ctl/vector.h
@@ -288,6 +291,8 @@ ctl/string.i:
288
291
$(call expand,$(subst .i,,$@ ) )
289
292
ctl/map.i :
290
293
$(call expand,$(subst .i,,$@ ) ,-DT=strint -DPOD)
294
+ ctl/btree_map.i :
295
+ $(call expand,$(subst .i,,$@ ) ,-DT=strint -DPOD)
291
296
ctl/unordered_map.i :
292
297
$(call expand,$(subst .i,,$@ ) ,-DT=strint -DPOD)
293
298
ctl/array.i :
@@ -324,7 +329,11 @@ tests/func/test_queue: .cflags $(COMMON_H) tests/test.h tests/func/digi.hh ct
324
329
tests/func/test_set : .cflags $(COMMON_H ) tests/test.h tests/func/digi.hh ctl/set.h \
325
330
tests/func/test_set.cc
326
331
$(CXX) $(CXXFLAGS) -o $@ $@.cc
327
- tests/func/test_map : .cflags $(H ) tests/test.h tests/func/strint.hh ctl/set.h ctl/map.h tests/func/test_map.cc
332
+ tests/func/test_btree_set : .cflags $(COMMON_H ) tests/test.h tests/func/digi.hh ctl/btree_set.h \
333
+ tests/func/test_btree_set.cc
334
+ $(CXX) $(CXXFLAGS) -o $@ $@.cc
335
+ tests/func/test_map : .cflags $(H ) tests/test.h tests/func/strint.hh \
336
+ tests/func/test_map.cc
328
337
$(CXX) $(CXXFLAGS) -o $@ $@.cc
329
338
tests/func/test_unordered_set : .cflags $(COMMON_H ) ctl/unordered_set.h \
330
339
tests/func/test_unordered_set.cc
0 commit comments