Made all the tests respect the PSPP_TEST_NO_CLEANUP environment variable.
[pspp-builds.git] / tests / stats / descript-basic.sh
index 765172b2870935993d62155d3deb3736560b36c4..82b8cdaa24b2ab1d60641a2a6e18d760f94b7055 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
 }