ligo/test/proto_alpha/jbuild

66 lines
1.9 KiB
Plaintext
Raw Normal View History

(jbuild_version 1)
(executables
((names (test_endorsement
;; test_michelson_parser
test_origination
test_transaction
test_vote))
(libraries (tezos-base
tezos-client-base
tezos-embedded-client-genesis
tezos-embedded-client-alpha
test_lib))
2017-11-13 17:29:28 +04:00
(flags (:standard -w -9-32 -safe-string
-open Tezos_base__TzPervasives
-open Tezos_embedded_protocol_environment_alpha
-open Tezos_embedded_raw_protocol_alpha
-open Tezos_client_base
-open Tezos_embedded_client_genesis
-open Tezos_embedded_client_alpha
-open Tezos_context))))
(alias
((name buildtest)
(deps (test_endorsement.exe
;; test_michelson_parser.exe
test_origination.exe
test_transaction.exe
test_vote.exe))))
(alias
((name runtest_endorsement)
(deps (sandbox.json))
(locks (/tcp-port/18100))
(action (chdir ${ROOT} (run ${exe:test_endorsement.exe} ${bin:tezos-node})))))
(alias
((name runtest_origination)
(deps (sandbox.json))
(locks (/tcp-port/18200))
(action (chdir ${ROOT} (run ${exe:test_origination.exe} ${bin:tezos-node})))))
(alias
((name runtest_transaction)
(deps (sandbox.json))
(locks (/tcp-port/18300))
(action (chdir ${ROOT} (run ${exe:test_transaction.exe} ${bin:tezos-node})))))
(alias
((name runtest_vote)
(deps (sandbox-vote.json))
(locks (/tcp-port/18400))
(action (chdir ${ROOT} (run ${exe:test_vote.exe} ${bin:tezos-node})))))
(alias
((name runtest)
(deps ((alias runtest_endorsement)
(alias runtest_origination)
(alias runtest_transaction)
(alias runtest_vote)))))
(alias
((name runtest_indent)
(deps ((glob_files *.ml) (glob_files *.mli)))
(action (run bash ${libexec:tezos-stdlib:test-ocp-indent.sh} ${<}))))