mte/unikernel/duniverse/digestif/test/ocaml/dune

45 lines
803 B
Text
Raw Normal View History

2025-11-11 02:07:51 +01:00
(executable
(name test)
(modules test)
(libraries fmt alcotest digestif.ocaml))
(rule
(alias runtest)
(deps
(:test test.exe)
../blake2b.test
../blake2s.test
../sha3_224_fips_202.txt
../sha3_256_fips_202.txt
../sha3_384_fips_202.txt
../sha3_512_fips_202.txt
../keccak_256.txt)
(action
(run %{test} --quick-tests --color=always)))
(executable
(name test_cve)
(modules test_cve)
(enabled_if
(or
(= %{architecture} "arm64")
(= %{architecture} "amd64")))
(libraries fmt alcotest digestif.ocaml))
(rule
(alias runtest)
(enabled_if
(or
(= %{architecture} "arm64")
(= %{architecture} "amd64")))
(deps
(:test test_cve.exe))
(action
(run %{test} --quick-tests --color=always)))
(rule
(copy# ../test.ml test.ml))
(rule
(copy# ../test_cve.ml test_cve.ml))