swh:1:snp:505c374fd75bb208ae4e9a54e64bb310bc49295e
Raw File
Tip revision: e69a4eb85cc1b5e8e393bdae9d843f0f060eb4f3 authored by lin on 25 September 2023, 04:06:15 UTC
fixup! test
Tip revision: e69a4eb
dune
; This file was automatically generated, do not edit.
; Edit file manifest/main.ml instead.

(env (_ (env-vars (NODE_PRELOAD hacl-wasm,ocaml-bls12-381,secp256k1-wasm))))

(library
 (name src_lib_version_test_tezt_lib)
 (instrumentation (backend bisect_ppx))
 (libraries
  tezt.core
  octez-libs.version
  octez-libs.version.parser
  octez-alcotezt)
 (js_of_ocaml)
 (library_flags (:standard -linkall))
 (flags
  (:standard)
  -open Tezt_core
  -open Tezt_core.Base
  -open Tezos_version
  -open Octez_alcotezt)
 (modules test_parser))

(executable
 (name main)
 (instrumentation (backend bisect_ppx --bisect-sigterm))
 (modes native)
 (libraries
  src_lib_version_test_tezt_lib
  tezt)
 (modules main))

(rule
 (alias runtest)
 (package octez-libs)
 (enabled_if (<> false %{env:RUNTEZTALIAS=true}))
 (action (run %{dep:./main.exe})))

(rule
 (targets main.ml)
 (action (with-stdout-to %{targets} (echo "let () = Tezt.Test.run ()"))))

(executable
 (name main_js)
 (instrumentation (backend bisect_ppx --bisect-sigterm))
 (modes js)
 (libraries
  src_lib_version_test_tezt_lib
  tezt.js)
 (js_of_ocaml)
 (modules main_js))

(rule
 (alias runtest_js)
 (package octez-libs)
 (enabled_if (<> false %{env:RUNTEZTALIAS=true}))
 (action (run node %{dep:./main_js.bc.js})))

(rule
 (targets main_js.ml)
 (action (with-stdout-to %{targets} (echo "let () = Tezt_js.Test.run ()"))))
back to top