Made all the tests respect the PSPP_TEST_NO_CLEANUP environment variable.
[pspp] / tests / xforms / recode.sh
index 46586bdba0ec020c30d08e242a023f0f04ea0962..b9cabe0a82d34488b0d5f8b40b614dd92bd71f41 100755 (executable)
@@ -23,6 +23,10 @@ export LANG
 
 cleanup()
 {
+     if [ x"$PSPP_TEST_NO_CLEANUP" != x ] ; then 
+       echo "NOT cleaning $TEMPDIR" 
+       return ; 
+     fi
      cd /
      rm -rf $TEMPDIR
 }