| 1 |
(rule |
| 2 |
(targets test_string.ml) |
| 3 |
(deps (:< test_string.cppo.ml)) |
| 4 |
(action (run %{bin:cppo} %{<} -o %{targets}))) |
| 5 |
|
| 6 |
(rule |
| 7 |
(targets test_bytes.ml) |
| 8 |
(deps (:< test_bytes.cppo.ml)) |
| 9 |
(action (run %{bin:cppo} %{<} -o %{targets}))) |
| 10 |
|
| 11 |
(rule |
| 12 |
(targets test_bigstring.ml) |
| 13 |
(deps (:< test_bigstring.cppo.ml)) |
| 14 |
(action (run %{bin:cppo} %{<} -o %{targets}))) |
| 15 |
|
| 16 |
(library |
| 17 |
(name tests) |
| 18 |
(wrapped false) |
| 19 |
(modules test_string test_bytes test_bigstring) |
| 20 |
(libraries ocplib-endian ocplib-endian.bigstring bigarray bytes)) |
| 21 |
|
| 22 |
(executables |
| 23 |
(names test) |
| 24 |
(modules test) |
| 25 |
(libraries ocplib-endian tests)) |
| 26 |
|
| 27 |
(executables |
| 28 |
(names bench) |
| 29 |
(modules bench) |
| 30 |
(libraries ocplib-endian ocplib-endian.bigstring)) |
| 31 |
|
| 32 |
(alias |
| 33 |
(name runtest) |
| 34 |
(deps (:< test.exe)) |
| 35 |
(action (run %{<}))) |