47 lines
1.2 KiB
Plaintext
47 lines
1.2 KiB
Plaintext
|
(executable
|
||
|
(name main)
|
||
|
(libraries tezos-base
|
||
|
tezos-micheline
|
||
|
tezos-protocol-environment
|
||
|
alcotest-lwt
|
||
|
tezos-005-PsBabyM1-test-helpers
|
||
|
tezos-stdlib-unix
|
||
|
bip39
|
||
|
tezos-protocol-005-PsBabyM1-parameters)
|
||
|
(flags (:standard -open Tezos_base__TzPervasives
|
||
|
-open Tezos_micheline
|
||
|
-open Tezos_protocol_005_PsBabyM1
|
||
|
-open Tezos_005_PsBabyM1_test_helpers
|
||
|
)))
|
||
|
|
||
|
(alias
|
||
|
(name buildtest)
|
||
|
(package tezos-protocol-005-PsBabyM1-tests)
|
||
|
(deps main.exe))
|
||
|
|
||
|
(rule
|
||
|
(copy %{lib:tezos-protocol-005-PsBabyM1-parameters:test-parameters.json}
|
||
|
protocol_parameters.json))
|
||
|
|
||
|
; runs only the `Quick tests
|
||
|
(alias
|
||
|
(name runtest_proto_005_PsBabyM1)
|
||
|
(package tezos-protocol-005-PsBabyM1-tests)
|
||
|
(action (run %{exe:main.exe} -v -q)))
|
||
|
|
||
|
; runs both `Quick and `Slow tests
|
||
|
(alias
|
||
|
(name runtest_slow)
|
||
|
(package tezos-protocol-005-PsBabyM1-tests)
|
||
|
(action (run %{exe:main.exe} -v)))
|
||
|
|
||
|
(alias
|
||
|
(name runtest)
|
||
|
(package tezos-protocol-005-PsBabyM1-tests)
|
||
|
(deps (alias runtest_proto_005_PsBabyM1)))
|
||
|
|
||
|
(alias
|
||
|
(name runtest_lint)
|
||
|
(deps (glob_files *.ml{,i}))
|
||
|
(action (run %{lib:tezos-tooling:lint.sh} %{deps})))
|