A fork of mtelver's day10 project
1(executable
2 (name test_atomic_swap)
3 (enabled_if (>= %{ocaml_version} 5.3.0))
4 (libraries day10_lib))
5
6(executable
7 (name test_gc)
8 (enabled_if (>= %{ocaml_version} 5.3.0))
9 (libraries day10_lib))
10
11(executable
12 (name test_run_log)
13 (enabled_if (>= %{ocaml_version} 5.3.0))
14 (libraries day10_lib unix yojson))
15
16(executable
17 (name test_run_data)
18 (enabled_if (>= %{ocaml_version} 5.3.0))
19 (libraries day10_web_data unix yojson))
20
21(executable
22 (name test_package_data)
23 (enabled_if (>= %{ocaml_version} 5.3.0))
24 (libraries day10_web_data unix))
25
26; Run all tests with: dune runtest
27(rule
28 (alias runtest)
29 (enabled_if (>= %{ocaml_version} 5.3.0))
30 (deps test_atomic_swap.exe test_gc.exe test_run_log.exe test_run_data.exe test_package_data.exe)
31 (action (progn
32 (run ./test_atomic_swap.exe)
33 (run ./test_gc.exe)
34 (run ./test_run_log.exe)
35 (run ./test_run_data.exe)
36 (run ./test_package_data.exe))))