2017-10-27 22:45:31 +04:00
|
|
|
(jbuild_version 1)
|
|
|
|
|
|
|
|
(executables
|
|
|
|
((names (test_endorsement
|
|
|
|
;; test_michelson_parser
|
|
|
|
test_origination
|
|
|
|
test_transaction
|
|
|
|
test_vote))
|
2017-11-27 09:13:12 +04:00
|
|
|
(libraries (tezos-base
|
2017-11-27 09:13:12 +04:00
|
|
|
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
|
2017-11-27 09:13:12 +04:00
|
|
|
-open Tezos_base__TzPervasives
|
2017-11-27 09:13:12 +04:00
|
|
|
-open Tezos_embedded_protocol_environment_alpha
|
2017-10-27 22:45:31 +04:00
|
|
|
-open Tezos_embedded_raw_protocol_alpha
|
2017-11-27 09:13:12 +04:00
|
|
|
-open Tezos_client_base
|
|
|
|
-open Tezos_embedded_client_genesis
|
|
|
|
-open Tezos_embedded_client_alpha
|
|
|
|
-open Tezos_context))))
|
2017-10-27 22:45:31 +04:00
|
|
|
|
|
|
|
(alias
|
|
|
|
((name buildtest)
|
|
|
|
(deps (test_endorsement.exe
|
|
|
|
;; test_michelson_parser.exe
|
|
|
|
test_origination.exe
|
|
|
|
test_transaction.exe
|
|
|
|
test_vote.exe))))
|
|
|
|
|
|
|
|
(alias
|
|
|
|
((name runtest_endorsement)
|
2017-12-06 22:52:00 +04:00
|
|
|
(deps (sandbox.json))
|
2017-10-27 22:45:31 +04:00
|
|
|
(locks (/tcp-port/18100))
|
2017-12-06 22:52:00 +04:00
|
|
|
(action (chdir ${ROOT} (run ${exe:test_endorsement.exe} ${bin:tezos-node})))))
|
2017-10-27 22:45:31 +04:00
|
|
|
|
|
|
|
(alias
|
|
|
|
((name runtest_origination)
|
2017-12-06 22:52:00 +04:00
|
|
|
(deps (sandbox.json))
|
2017-10-27 22:45:31 +04:00
|
|
|
(locks (/tcp-port/18200))
|
2017-12-06 22:52:00 +04:00
|
|
|
(action (chdir ${ROOT} (run ${exe:test_origination.exe} ${bin:tezos-node})))))
|
2017-10-27 22:45:31 +04:00
|
|
|
|
|
|
|
(alias
|
|
|
|
((name runtest_transaction)
|
2017-12-06 22:52:00 +04:00
|
|
|
(deps (sandbox.json))
|
2017-10-27 22:45:31 +04:00
|
|
|
(locks (/tcp-port/18300))
|
2017-12-06 22:52:00 +04:00
|
|
|
(action (chdir ${ROOT} (run ${exe:test_transaction.exe} ${bin:tezos-node})))))
|
2017-10-27 22:45:31 +04:00
|
|
|
|
|
|
|
(alias
|
|
|
|
((name runtest_vote)
|
2017-12-06 22:52:00 +04:00
|
|
|
(deps (sandbox-vote.json))
|
2017-10-27 22:45:31 +04:00
|
|
|
(locks (/tcp-port/18400))
|
2017-12-06 22:52:00 +04:00
|
|
|
(action (chdir ${ROOT} (run ${exe:test_vote.exe} ${bin:tezos-node})))))
|
2017-10-27 22:45:31 +04:00
|
|
|
|
|
|
|
(alias
|
|
|
|
((name runtest)
|
|
|
|
(deps ((alias runtest_endorsement)
|
|
|
|
(alias runtest_origination)
|
|
|
|
(alias runtest_transaction)
|
|
|
|
(alias runtest_vote)))))
|
2017-11-27 09:13:12 +04:00
|
|
|
|
|
|
|
(alias
|
|
|
|
((name runtest_indent)
|
|
|
|
(deps ((glob_files *.ml) (glob_files *.mli)))
|
|
|
|
(action (run bash ${libexec:tezos-stdlib:test-ocp-indent.sh} ${<}))))
|