Skip to content

Commit 6d3d3f0

Browse files
committed
give memory unit tests their own scope
1 parent 298df4a commit 6d3d3f0

15 files changed

+14
-14
lines changed

test/CMakeLists.txt

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -82,16 +82,16 @@ set(TEST_SOURCES
8282
${UNIT_TESTS}/kernel/arch.cpp
8383
${UNIT_TESTS}/kernel/blocking.cpp
8484
${UNIT_TESTS}/kernel/cpuid.cpp
85-
${UNIT_TESTS}/kernel/memmap_test.cpp
86-
${UNIT_TESTS}/kernel/test_memory.cpp
85+
${UNIT_TESTS}/memory/mapping/memmap_test.cpp
86+
${UNIT_TESTS}/memory/generic/test_memory.cpp
8787
${UNIT_TESTS}/kernel/os_test.cpp
8888
${UNIT_TESTS}/kernel/rng.cpp
8989
${UNIT_TESTS}/kernel/service_stub_test.cpp
9090
${UNIT_TESTS}/kernel/test_hal.cpp
9191
${UNIT_TESTS}/kernel/unit_events.cpp
92-
${UNIT_TESTS}/kernel/unit_liveupdate.cpp
9392
${UNIT_TESTS}/kernel/unit_timers.cpp
94-
${UNIT_TESTS}/kernel/x86_paging.cpp
93+
${UNIT_TESTS}/memory/paging/unit_liveupdate.cpp
94+
${UNIT_TESTS}/memory/paging/x86_paging.cpp
9595
${UNIT_TESTS}/kernel/spinlocks.cpp
9696
${UNIT_TESTS}/net/addr_test.cpp
9797
${UNIT_TESTS}/net/bufstore.cpp
@@ -137,30 +137,30 @@ set(TEST_SOURCES
137137
${UNIT_TESTS}/posix/unit_fd.cpp
138138
${UNIT_TESTS}/util/base64.cpp
139139
${UNIT_TESTS}/util/bitops.cpp
140-
${UNIT_TESTS}/util/buddy_alloc_test.cpp
140+
${UNIT_TESTS}/memory/alloc/buddy_alloc_test.cpp
141+
${UNIT_TESTS}/memory/alloc/fixed_list_alloc_test.cpp
142+
${UNIT_TESTS}/memory/alloc/pmr_alloc_test.cpp
143+
${UNIT_TESTS}/memory/generic/membitmap.cpp
144+
${UNIT_TESTS}/memory/lstack/test_lstack_nodes.cpp
145+
${UNIT_TESTS}/memory/lstack/test_lstack_merging.cpp
146+
${UNIT_TESTS}/memory/lstack/test_lstack_nomerge.cpp
141147
${UNIT_TESTS}/util/config.cpp
142148
${UNIT_TESTS}/util/crc32.cpp
143149
${UNIT_TESTS}/util/delegate.cpp
144-
${UNIT_TESTS}/util/fixed_list_alloc_test.cpp
145150
${UNIT_TESTS}/util/fixed_queue.cpp
146151
${UNIT_TESTS}/util/fixed_vector.cpp
147152
${UNIT_TESTS}/util/isotime.cpp
148153
${UNIT_TESTS}/util/logger_test.cpp
149-
${UNIT_TESTS}/util/membitmap.cpp
150154
# ${UNIT_TESTS}/util/path_to_regex_no_options.cpp
151155
${UNIT_TESTS}/util/path_to_regex_parse.cpp
152156
${UNIT_TESTS}/util/path_to_regex_options.cpp
153157
${UNIT_TESTS}/util/percent_encoding_test.cpp
154-
${UNIT_TESTS}/util/pmr_alloc_test.cpp
155158
${UNIT_TESTS}/util/ringbuffer.cpp
156159
${UNIT_TESTS}/util/sha1.cpp
157160
${UNIT_TESTS}/util/statman.cpp
158161
${UNIT_TESTS}/util/syslogd_test.cpp
159162
${UNIT_TESTS}/util/syslog_facility_test.cpp
160163
# ${UNIT_TESTS}/util/uri_test.cpp
161-
${UNIT_TESTS}/util/lstack/test_lstack_nodes.cpp
162-
${UNIT_TESTS}/util/lstack/test_lstack_merging.cpp
163-
${UNIT_TESTS}/util/lstack/test_lstack_nomerge.cpp
164164
)
165165

166166
if(EXTRA_TESTS)
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)