Made all the tests respect the PSPP_TEST_NO_CLEANUP environment variable.
[pspp-builds.git] / tests / expressions / valuelabel.sh
index ef21e041f5e0697398382ca660895631d4e696e8..1c29a7a523f2a4ee42e4b3f5dc2f030d19f83c63 100755 (executable)
@@ -19,6 +19,10 @@ export LANG
 
 cleanup()
 {
+     if [ x"$PSPP_TEST_NO_CLEANUP" != x ] ; then 
+       echo "NOT cleaning $TEMPDIR" 
+       return ; 
+     fi
      cd /
      rm -rf $TEMPDIR
 }