Skip to content

Commit e34c767

Browse files
committed
Separate kcas and kcas_data to own dirs under src and test
1 parent d8441c6 commit e34c767

23 files changed

+36
-23
lines changed
File renamed without changes.
File renamed without changes.

src/dune renamed to src/kcas/dune

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
(library
22
(name kcas)
33
(public_name kcas)
4-
(libraries threads domain-local-await))
4+
(libraries domain-local-await))
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

test/dune renamed to test/kcas/dune

Lines changed: 2 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -3,30 +3,12 @@
33
(modules barrier)
44
(package kcas))
55

6-
(library
7-
(name xt_linked_queue)
8-
(libraries kcas)
9-
(modules xt_linked_queue)
10-
(package kcas))
11-
12-
(library
13-
(name xt_stack)
14-
(libraries kcas)
15-
(modules xt_stack)
16-
(package kcas))
17-
186
(test
197
(name test)
20-
(libraries kcas barrier)
8+
(libraries kcas barrier unix)
219
(modules test)
2210
(package kcas))
2311

24-
(test
25-
(name xt_test)
26-
(libraries kcas kcas_data xt_linked_queue xt_stack)
27-
(modules xt_test)
28-
(package kcas_data))
29-
3012
(test
3113
(name test_overlapping_loc)
3214
(libraries kcas)
@@ -65,7 +47,7 @@
6547

6648
(test
6749
(name threads)
68-
(libraries kcas)
50+
(libraries kcas threads)
6951
(modules threads)
7052
(package kcas))
7153

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.

test/kcas_data/dune

Lines changed: 33 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,35 @@
1-
(tests
2-
(names dllist_test hashtbl_test hashtbl_bench queue_test stack_test)
1+
(test
2+
(name dllist_test)
3+
(modules dllist_test)
4+
(libraries kcas kcas_data)
5+
(package kcas_data))
6+
7+
(test
8+
(name hashtbl_bench)
9+
(modules hashtbl_bench)
310
(libraries kcas kcas_data unix)
411
(package kcas_data))
12+
13+
(test
14+
(name hashtbl_test)
15+
(modules hashtbl_test)
16+
(libraries kcas kcas_data)
17+
(package kcas_data))
18+
19+
(test
20+
(name queue_test)
21+
(modules queue_test)
22+
(libraries kcas kcas_data)
23+
(package kcas_data))
24+
25+
(test
26+
(name stack_test)
27+
(modules stack_test)
28+
(libraries kcas kcas_data)
29+
(package kcas_data))
30+
31+
(test
32+
(name xt_test)
33+
(modules xt_test xt_linked_queue xt_stack)
34+
(libraries kcas kcas_data)
35+
(package kcas_data))
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)