; rather do in Makefile and have assert.ml in source-control than depend on download.
;; https://discuss.ocaml.org/t/working-with-application-data-in-packages/9464/5?u=mro
;(rule
; (target assert.ml)
; (action (with-stdout-to %{target}
;  (run curl "https://raw.githubusercontent.com/benjenkinsv95/ocaml-unit-testing-helpers/master/assert.ml"))))

(tests
 ; https://dune.readthedocs.io/en/stable/dune-files.html#tests-stanza
 (names
  ;  t_config
  ;  t_peertube
  ;  t_search
  ;  t_sexp
  t_ap
  t_as2
  t_as2_vocab
  t_astring
  t_ban
  t_cdb
  t_cfg
  t_cgi
  t_cookie
  t_ds_cdb
  t_ezjsonm
  t_file
  t_html
  t_http
  t_is2s
  t_iweb
  t_job
  t_main
  t_make
  t_mapcdb
  t_optint
  t_plain2handle
  t_plain2html
  t_rfc4287
  t_rfc7565
  t_sqlite3
  t_st
  t_storage
  t_tag
  t_time
  t_tls
  t_uri
  t_webfinger
  t_xmlm
  t_yojson
  )
 (libraries
  seppo_lib
  ; http-cookie
  ; https://discuss.ocaml.org/t/combinator-library-for-extracting-data-for-s-exps/10153/48?u=mro
  ; sexp_decode
  alcotest
  base64
  cohttp
  csexp
  cstruct
  cstruct-unix
  decoders-ezjsonm
  decoders-ezxmlm
  ezjsonm
  ezxmlm
  hex
  lwt
  lwt.unix
  mirage-crypto
  mirage-crypto-rng
  mirage-crypto-rng-lwt
  mirage-crypto-rng.unix
  optint
  ptime
  result
  safepass
  sexplib
  sqlite3
  timedesc
  tls
  tls-lwt
  tyre
  uri
  x509
  xmlm
  yojson)
 ; https://dev.realworldocaml.org/data-serialization.html#scrollNav-1-2
 ; https://discuss.ocaml.org/t/lwt-ppx-binary-footprint/11818/2
 (preprocess
  (pps ppx_sexp_conv lwt_ppx))
 ; https://discuss.ocaml.org/t/ld-error-missing-note-gnu-stack-section/12478/4
 (flags
  (:standard -cclib "-z noexecstack" -safe-string)))
