Author: kpvdr
Date: 2010-06-30 13:03:41 -0400 (Wed, 30 Jun 2010)
New Revision: 4056
Modified:
store/trunk/cpp/tests/Makefile.am
store/trunk/cpp/tests/clean.sh
Log:
Improved cleanup to remove python test temp directory (which is usually very large)
Modified: store/trunk/cpp/tests/Makefile.am
===================================================================
--- store/trunk/cpp/tests/Makefile.am 2010-06-30 14:00:08 UTC (rev 4055)
+++ store/trunk/cpp/tests/Makefile.am 2010-06-30 17:03:41 UTC (rev 4056)
@@ -27,6 +27,7 @@
INCLUDES=-I$(top_srcdir)/lib -I$(abs_builddir)/../lib -I$(top_srcdir)/lib/gen
TMP_DATA_DIR=$(abs_srcdir)/tmp_data_dir
+TMP_PYTHON_TEST_DIR=$(abs_srcdir)/python_tests.tmp
if DO_CLUSTER_TESTS
SUBDIRS = jrnl . cluster
@@ -104,6 +105,7 @@
abs_srcdir=$(abs_srcdir) \
STORE_LIB=$(abs_builddir)/../lib/.libs/msgstore.so \
TMP_DATA_DIR=$(TMP_DATA_DIR) \
+ TMP_PYTHON_TEST_DIR=$(TMP_PYTHON_TEST_DIR) \
$(srcdir)/run_test
# Note: Auto-recursion is not supported for custom targets, so add a ${MAKE} -C for each
dir in the SUBDIRS list above.
Modified: store/trunk/cpp/tests/clean.sh
===================================================================
--- store/trunk/cpp/tests/clean.sh 2010-06-30 14:00:08 UTC (rev 4055)
+++ store/trunk/cpp/tests/clean.sh 2010-06-30 17:03:41 UTC (rev 4056)
@@ -29,4 +29,7 @@
if [ -d ${TMP_DATA_DIR} ]; then
rm -rf ${TMP_DATA_DIR}
fi
+if [ -d ${TMP_PYTHON_TEST_DIR} ]; then
+ rm -rf ${TMP_PYTHON_TEST_DIR}
+fi
rm -f ${abs_srcdir}/*.vglog*
Show replies by date