projects
/
pspp-builds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix corrupted .sav files on w32 builds
[pspp-builds.git]
/
tests
/
bugs
/
compute-sum.sh
diff --git
a/tests/bugs/compute-sum.sh
b/tests/bugs/compute-sum.sh
index 4b043a92153044c0889cfe9bc8ed2bcaf8d476c8..83aeae048acfe9ca5fce21a4ab84d8492ef901d8 100755
(executable)
--- a/
tests/bugs/compute-sum.sh
+++ b/
tests/bugs/compute-sum.sh
@@
-21,6
+21,10
@@
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
}
@@
-68,7
+72,7
@@
EOF
if [ $? -ne 0 ] ; then no_result ; fi
activity="run program"
if [ $? -ne 0 ] ; then no_result ; fi
activity="run program"
-$SUPERVISOR $PSPP $TEMPDIR/compute-sum.stat
+$SUPERVISOR $PSPP
--testing-mode
$TEMPDIR/compute-sum.stat
if [ $? -ne 0 ] ; then no_result ; fi
activity="compare output"
if [ $? -ne 0 ] ; then no_result ; fi
activity="compare output"