/*
File name : cryptomod.c
Projet : MERLIN
- Date of creation : 2025/05/0r2
+ Date of creation : 2025/05/02
Version : 1.0
Copyright : Thales SIX
Author : Laurent Mazet <laurent.mazet@thalesgroup.com>
/* test: cryptomod.exe -V 3 -l script-prng_black-cm.log & pid=$!; sleep 1; ./simulator.exe -l script-prng_black-si.log -s PRNG -t lo://00:00:00:00:00:00/083c -r lo://00:00:00:00:00:00/082c test/script-prng-si.eth; rc=$?; sleep 1; kill -TERM $pid; test $rc -eq 0 */
-/* test: cryptomod.exe -V 3 -l script-prng_red-cm.log & pid=$!; sleep 1; ./simulator.exe -l script-prng_red-si.log -s PRNG -t lo://00:00:00:00:00:00/081c -r lo://00:00:00:00:00:00/080c test/script-prng-si.eth; rc=$?; sleep 1; kill -TERM $pid; test $rc -eq 0 */
+/* test: cryptomod.exe -v 2 -V 3 -l script-prng_red-cm.log -s PRNG -t lo://00:00:00:00:00:00/080c -r lo://00:00:00:00:00:00/081c & pid=$!; sleep 1; ./simulator.exe -l script-prng_red-si.log -s PRNG -t lo://00:00:00:00:00:00/081c -r lo://00:00:00:00:00:00/080c test/script-prng-si.eth; rc=$?; sleep 1; kill -TERM $pid; test $rc -eq 0 */
/* test: cryptomod.exe -V 3 -l script-bypass_b2r-cm.log & pid=$!; sleep 1; ./simulator.exe -l script-bypass_b2r-si.log -s BYPASS -t lo://00:00:00:00:00:00/083d -r lo://00:00:00:00:00:00/080d test/script-bypass-si.eth; rc=$?; sleep 1; kill -TERM $pid; test $rc -eq 0 */
sed -i s/__BEGIN_DECLS//g documentation/html/*.html
sed -i s/\\_\\-\\_BEGIN\\_\\-DECLS//g documentation/latex/*.tex
-gcovs:
+gcovs: wipe
$(MAKE) $(addprefix gcov_,$(ALLEXE))
gprofs:
OPTIONS="-coverage -O0" $(MAKE) ${@:gcov_%=%}.exe
$(MAKE) test_$(@:gcov_%=%)
gcov `sed -e 's/\.exe:/.c/;s/\.o/.c/g' $(@:gcov_%=%.ld)`
- touch gcov
- rm -f gcov $(wildcard *.gcda *.gcno)
$(MAKE) purge
grep '^ *#####' *.c.gcov || true