summaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
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