From: Mazet Laurent Date: Wed, 7 May 2025 17:29:29 +0000 (+0200) Subject: update gcov rule X-Git-Tag: v1.0~29^2~2 X-Git-Url: https://secure.softndesign.org/git/?a=commitdiff_plain;h=261c4e653727192c06ff8b178cfcc9e0ec1f88c7;p=morep.git update gcov rule --- diff --git a/cryptomod.c b/cryptomod.c index 9f47b51..186cb28 100644 --- a/cryptomod.c +++ b/cryptomod.c @@ -1,7 +1,7 @@ /* 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 @@ -636,7 +636,7 @@ int main (int argc, char **argv) /* 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 */ diff --git a/makefile b/makefile index 65f413f..94ac452 100644 --- a/makefile +++ b/makefile @@ -89,7 +89,7 @@ documentation: doxygen.conf morep.c morep.h parse.h $(wildcard pdu_*.h) simulato 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: @@ -127,8 +127,6 @@ gcov_%: 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