This commit is contained in:
swrup 2025-11-11 02:07:51 +01:00
parent aa2ff7b2f0
commit 2f3113f55d
11742 changed files with 1223940 additions and 0 deletions

View file

@ -0,0 +1,44 @@
(executable
(name test)
(modules test)
(libraries fmt alcotest digestif.c))
(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} --color=always)))
(executable
(name test_cve)
(modules test_cve)
(enabled_if
(or
(= %{architecture} "arm64")
(= %{architecture} "amd64")))
(libraries fmt alcotest digestif.c))
(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))