summaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authorMichael Cahill <michael.cahill@wiredtiger.com>2013-01-07 17:43:44 +1100
committerMichael Cahill <michael.cahill@wiredtiger.com>2013-01-07 17:43:44 +1100
commitbb550b2b748c77e3abee02d8b2e5465df89521e8 (patch)
treea80120e41ef363af2395e8d158f6de9b4607c268 /lang
parent9b18d3d8078689724d0e14e9d334d22b8ea11219 (diff)
downloadmongo-bb550b2b748c77e3abee02d8b2e5465df89521e8.tar.gz
Fixes for automake 1.3.x: don't use $(srcdir) in TESTS and avoid the new parallel test harness (our tests all currently expect to have exclusive access to a WT_TEST directory).
--HG-- rename : examples/python/run-ex_access => lang/python/run-ex_access
Diffstat (limited to 'lang')
-rw-r--r--lang/python/Makefile.am2
-rwxr-xr-xlang/python/run-ex_access5
2 files changed, 6 insertions, 1 deletions
diff --git a/lang/python/Makefile.am b/lang/python/Makefile.am
index d22234e9f43..889a83e1ce4 100644
--- a/lang/python/Makefile.am
+++ b/lang/python/Makefile.am
@@ -12,4 +12,4 @@ $(PYSRC)/wiredtiger_wrap.c: $(top_srcdir)/src/include/wiredtiger.in $(PYSRC)/wir
_wiredtiger.so: $(top_builddir)/libwiredtiger.la $(PYSRC)/wiredtiger_wrap.c
$(PYTHON) $(PYSRC)/setup.py build_ext -b . -t . -f $(PY_SETUP_DEBUG)
-TESTS = $(top_srcdir)/examples/python/run-ex_access
+TESTS = run-ex_access
diff --git a/lang/python/run-ex_access b/lang/python/run-ex_access
new file mode 100755
index 00000000000..a6f8348e9fd
--- /dev/null
+++ b/lang/python/run-ex_access
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+rm -rf WT_TEST ; mkdir WT_TEST
+
+exec env LD_LIBRARY_PATH=../../.libs DYLD_LIBRARY_PATH=../../.libs PYTHONPATH=.:${srcdir} python ${srcdir}/../../examples/python/ex_access.py