projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Make SYSFILE INFO able to analyze valid encodings for a system file.
[pspp]
/
tests
/
coverage.sh
diff --git
a/tests/coverage.sh
b/tests/coverage.sh
index da330e9f96e03be457d1967faf75e6f3bfa1e8b1..3a210783c2fed0b507cd50f67c12aa23119c7ee0 100755
(executable)
--- a/
tests/coverage.sh
+++ b/
tests/coverage.sh
@@
-6,18
+6,21
@@
# To use it:
#
# make distclean
# To use it:
#
# make distclean
-# export CFLAGS="-O0 -g -fprofile-arcs -ftest-coverage"
+# CFLAGS="-O0 -g -fprofile-arcs -ftest-coverage"
+# export CFLAGS
# ./configure
# make check
# tests/coverage.sh
# ./configure
# make check
# tests/coverage.sh
-export TEMPDIR=/tmp/pspp-cov-$$
+TEMPDIR=/tmp/pspp-cov-$$
+export TEMPDIR
mkdir -p $TEMPDIR
files=`find src -name '*.c'`
mkdir -p $TEMPDIR
files=`find src -name '*.c'`
-export summary_file="$TEMPDIR/coverage.txt"
+summary_file="$TEMPDIR/coverage.txt"
+export summary_file
rm -f $summary_file
rm -f $summary_file
@@
-44,6
+47,6
@@
FREQUENCIES /COVERAGE
EOF
EOF
-src/pspp -o html $TEMPDIR/cov.sps
+src/pspp -o
pspp.
html $TEMPDIR/cov.sps
rm -rf $TEMPDIR
rm -rf $TEMPDIR