ligo/test/utils/jbuild
2018-01-27 11:32:57 +01:00

62 lines
1.5 KiB
Plaintext

(jbuild_version 1)
(executables
((names (test_data_encoding
test_lwt_pipe
test_merkle
test_stream_data_encoding
test_utils
bench_data_encoding
test_mbytes_buffer))
(libraries (tezos-base test_lib))
(flags (:standard -w -9-32
-safe-string
-open Tezos_base__TzPervasives))))
(alias
((name buildtest)
(deps (test_data_encoding.exe
test_lwt_pipe.exe
test_merkle.exe
test_stream_data_encoding.exe
test_utils.exe
test_mbytes_buffer.exe))))
(alias
((name runtest_data_encoding)
(action (run ${exe:test_data_encoding.exe}))))
(alias
((name runtest_lwt_pipe)
(action (run ${exe:test_lwt_pipe.exe}))))
(alias
((name runtest_merkle)
(action (run ${exe:test_merkle.exe}))))
(alias
((name runtest_stream_data_encoding)
(action (run ${exe:test_stream_data_encoding.exe}))))
(alias
((name runtest_utils)
(action (run ${exe:test_utils.exe}))))
(alias
((name runtest_mbytes_buffer)
(action (run ${exe:test_mbytes_buffer.exe}))))
(alias
((name runtest)
(deps ((alias runtest_data_encoding)
(alias runtest_lwt_pipe)
(alias runtest_merkle)
(alias runtest_stream_data_encoding)
(alias runtest_utils)
(alias runtest_mbytes_buffer)))))
(alias
((name runtest_indent)
(deps ((glob_files *.ml) (glob_files *.mli)))
(action (run bash ${libexec:tezos-stdlib:test-ocp-indent.sh} ${^}))))