mirror of
https://github.com/cryb-to/cryb-to.git
synced 2024-11-22 05:35:46 +00:00
Add a helper script for running the test suite with coverage analysis
enabled.
This commit is contained in:
parent
3ed82792fc
commit
f1907404b1
3 changed files with 14 additions and 1 deletions
|
@ -11,4 +11,6 @@ EXTRA_DIST = \
|
|||
LICENSE \
|
||||
README \
|
||||
RELNOTES \
|
||||
autogen.sh
|
||||
autogen.sh \
|
||||
tools/coverage.sh.in \
|
||||
tools/setprops.sh
|
||||
|
|
|
@ -126,5 +126,6 @@ AC_CONFIG_FILES([
|
|||
lib/rand/Makefile
|
||||
lib/rsaref/Makefile
|
||||
t/Makefile
|
||||
tools/coverage.sh
|
||||
])
|
||||
AC_OUTPUT
|
||||
|
|
10
tools/coverage.sh.in
Executable file
10
tools/coverage.sh.in
Executable file
|
@ -0,0 +1,10 @@
|
|||
#!/bin/sh
|
||||
|
||||
srcdir="@abs_top_srcdir@"
|
||||
export COVFILE="${srcdir}/test.cov"
|
||||
gmake -C "${srcdir}" clean
|
||||
rm "${COVFILE}"
|
||||
cov01 -1
|
||||
gmake -C "${srcdir}" check
|
||||
cov01 -0
|
||||
gmake -C "${srcdir}" clean
|
Loading…
Reference in a new issue