2018-02-02 19:26:02 +04:00
|
|
|
(jbuild_version 1)
|
|
|
|
|
|
|
|
(executables
|
|
|
|
((names (test_data_encoding
|
|
|
|
test_stream_data_encoding
|
|
|
|
;; bench_data_encoding
|
|
|
|
))
|
|
|
|
(libraries (tezos-stdlib
|
|
|
|
tezos_data_encoding
|
|
|
|
tezos-test-helpers))
|
|
|
|
(flags (:standard -w -9-32 -safe-string
|
|
|
|
-open Tezos_stdlib
|
|
|
|
-open Tezos_data_encoding
|
|
|
|
-open Tezos_test_helpers))))
|
|
|
|
|
|
|
|
(alias
|
|
|
|
((name buildtest)
|
|
|
|
(deps (test_data_encoding.exe
|
|
|
|
test_stream_data_encoding.exe
|
|
|
|
;; bench_data_encoding.exe
|
|
|
|
))))
|
|
|
|
|
|
|
|
(alias
|
|
|
|
((name runtest_stream_data_encoding)
|
|
|
|
(action (run ${exe:test_stream_data_encoding.exe}))))
|
|
|
|
|
|
|
|
(alias
|
|
|
|
((name runtest_data_encoding)
|
|
|
|
(action (run ${exe:test_data_encoding.exe}))))
|
|
|
|
|
|
|
|
(alias
|
|
|
|
((name runtest)
|
|
|
|
(deps ((alias runtest_data_encoding)
|
|
|
|
(alias runtest_stream_data_encoding)))))
|
|
|
|
|
|
|
|
(alias
|
|
|
|
((name runtest_indent)
|
2018-02-06 19:17:38 +04:00
|
|
|
(deps ((glob_files *.ml*)))
|
2018-02-02 19:26:02 +04:00
|
|
|
(action (run bash ${libexec:tezos-stdlib:test-ocp-indent.sh} ${^}))))
|