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
|
|
|
|
test_lib
|
2017-10-27 22:45:31 +04:00
|
|
|
client_lib
|
|
|
|
client_embedded_genesis
|
|
|
|
client_embedded_alpha))
|
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
|
|
|
|
-open Tezos_context
|
|
|
|
-open Client_embedded_alpha))))
|
|
|
|
|
|
|
|
(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 (../../src/node_main.exe
|
|
|
|
sandbox.json))
|
|
|
|
(locks (/tcp-port/18100))
|
|
|
|
(action (run ${exe:test_endorsement.exe}))))
|
|
|
|
|
|
|
|
(alias
|
|
|
|
((name runtest_origination)
|
|
|
|
(deps (../../src/node_main.exe
|
|
|
|
sandbox.json))
|
|
|
|
(locks (/tcp-port/18200))
|
|
|
|
(action (run ${exe:test_origination.exe}))))
|
|
|
|
|
|
|
|
(alias
|
|
|
|
((name runtest_transaction)
|
|
|
|
(deps (../../src/node_main.exe
|
|
|
|
sandbox.json))
|
|
|
|
(locks (/tcp-port/18300))
|
|
|
|
(action (run ${exe:test_transaction.exe}))))
|
|
|
|
|
|
|
|
(alias
|
|
|
|
((name runtest_vote)
|
|
|
|
(deps (../../src/node_main.exe
|
|
|
|
sandbox-vote.json))
|
|
|
|
(locks (/tcp-port/18400))
|
|
|
|
(action (run ${exe:test_vote.exe}))))
|
|
|
|
|
|
|
|
(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} ${<}))))
|