projects
/
pspp-builds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Avoid use of $* in Makefile since it's problematic
[pspp-builds.git]
/
tests
/
stats
/
moments.sh
diff --git
a/tests/stats/moments.sh
b/tests/stats/moments.sh
index 63c9a17a878769021ea075504ce31ceb51a47da0..89854285a0f0cde4fc9b7ad801a7db58e9970249 100755
(executable)
--- a/
tests/stats/moments.sh
+++ b/
tests/stats/moments.sh
@@
-19,9
+19,12
@@
export STAT_CONFIG_PATH
cleanup()
{
cleanup()
{
+ if [ x"$PSPP_TEST_NO_CLEANUP" != x ] ; then
+ echo "NOT cleaning $TEMPDIR"
+ return ;
+ fi
cd /
rm -rf $TEMPDIR
cd /
rm -rf $TEMPDIR
- :
}
}
@@
-81,7
+84,7
@@
sed < $TEMPDIR/moments-list-2p >> $TEMPDIR/moments-2p.stat \
if [ $? -ne 0 ] ; then no_result ; fi
activity="run two-pass program"
if [ $? -ne 0 ] ; then no_result ; fi
activity="run two-pass program"
-$SUPERVISOR $PSPP --testing-mode
-o raw-ascii
\
+$SUPERVISOR $PSPP --testing-mode \
$TEMPDIR/moments-2p.stat >$TEMPDIR/moments-2p.err 2> $TEMPDIR/moments-2p.out
activity="compare two-pass output"
$TEMPDIR/moments-2p.stat >$TEMPDIR/moments-2p.err 2> $TEMPDIR/moments-2p.out
activity="compare two-pass output"
@@
-95,7
+98,7
@@
sed < $TEMPDIR/moments-list-1p >> $TEMPDIR/moments-1p.stat \
if [ $? -ne 0 ] ; then no_result ; fi
activity="run one-pass program"
if [ $? -ne 0 ] ; then no_result ; fi
activity="run one-pass program"
-$SUPERVISOR $PSPP --testing-mode
-o raw-ascii
\
+$SUPERVISOR $PSPP --testing-mode \
$TEMPDIR/moments-1p.stat >$TEMPDIR/moments-1p.err 2> $TEMPDIR/moments-1p.out
activity="compare one-pass output"
$TEMPDIR/moments-1p.stat >$TEMPDIR/moments-1p.err 2> $TEMPDIR/moments-1p.out
activity="compare one-pass output"