Made all the tests respect the PSPP_TEST_NO_CLEANUP environment variable.
[pspp-builds.git] / tests / stats / descript-missing.sh
index 87593430150954b4f65ca65395c36f7785ac0fd8..a295be5dcaf6d2734ccd091bc3dad749b56ff56c 100755 (executable)
@@ -21,6 +21,10 @@ export LANG
 
 cleanup()
 {
+     if [ x"$PSPP_TEST_NO_CLEANUP" != x ] ; then 
+       echo "NOT cleaning $TEMPDIR" 
+       return ; 
+     fi
      cd /
      rm -rf $TEMPDIR
 }