mirror of
https://github.com/rosenpass/rosenpass.git
synced 2025-12-16 20:37:06 +03:00
chore: add script to test ProVerif example files
Some checks failed
rosenpass-ciphers - primitives - benchmark / prim-benchmark (i686-linux) (push) Has been cancelled
rosenpass-ciphers - primitives - benchmark / prim-benchmark (x86_64-linux) (push) Has been cancelled
rosenpass - protocol - benchmark / proto-benchmark (i686-linux) (push) Has been cancelled
rosenpass - protocol - benchmark / proto-benchmark (x86_64-linux) (push) Has been cancelled
rosenpass-ciphers - primitives - benchmark / ciphers-primitives-bench-status (push) Has been cancelled
rosenpass - protocol - benchmark / ciphers-protocol-bench-status (push) Has been cancelled
Some checks failed
rosenpass-ciphers - primitives - benchmark / prim-benchmark (i686-linux) (push) Has been cancelled
rosenpass-ciphers - primitives - benchmark / prim-benchmark (x86_64-linux) (push) Has been cancelled
rosenpass - protocol - benchmark / proto-benchmark (i686-linux) (push) Has been cancelled
rosenpass - protocol - benchmark / proto-benchmark (x86_64-linux) (push) Has been cancelled
rosenpass-ciphers - primitives - benchmark / ciphers-primitives-bench-status (push) Has been cancelled
rosenpass - protocol - benchmark / ciphers-protocol-bench-status (push) Has been cancelled
This commit is contained in:
23
marzipan/test_parser.sh
Executable file
23
marzipan/test_parser.sh
Executable file
@@ -0,0 +1,23 @@
|
||||
#!/usr/bin/env bash
|
||||
shopt -s nullglob globstar
|
||||
|
||||
proverif_repo=$1
|
||||
|
||||
# Prerequisites:
|
||||
# * built ProVerif
|
||||
# * ran ./test (and aborted it) such that the preparation scripts have been run
|
||||
|
||||
# Test pitype files
|
||||
for f in $proverif_repo/examples/pitype/**/*.pv; do
|
||||
[[ $f == *.m4.pv ]] && continue
|
||||
echo "$f"
|
||||
nix run .# -- parse "$f"
|
||||
done
|
||||
|
||||
|
||||
# Test cryptoverif files
|
||||
for f in $proverif_repo/examples/cryptoverif/**/*.pcv; do
|
||||
[[ $f == *.m4.pcv ]] && continue
|
||||
echo "$f"
|
||||
nix run .# -- parse "$f"
|
||||
done
|
||||
Reference in New Issue
Block a user