summaryrefslogtreecommitdiff
path: root/dbaccess/PythonTest_dbaccess_python.mk
diff options
context:
space:
mode:
authorLionel Elie Mamane <lionel@mamane.lu>2015-02-01 15:55:17 +0100
committerLionel Elie Mamane <lionel@mamane.lu>2015-02-03 13:24:34 +0000
commit3e8c54916e10e046b55931d70eaa1a9473d608c1 (patch)
treea46a3ad836f3df1952ffe2a34d7874437e32a114 /dbaccess/PythonTest_dbaccess_python.mk
parentfcba36b6b7efdf9222ccf9d330297b90cd04eb33 (diff)
copy test file to workdir to avoid overwriting
Change-Id: I2acc5cd6a57bb6a18f3f20177b3bcf2b8469a834 Reviewed-on: https://gerrit.libreoffice.org/14272 Reviewed-by: Lionel Elie Mamane <lionel@mamane.lu> Tested-by: Lionel Elie Mamane <lionel@mamane.lu>
Diffstat (limited to 'dbaccess/PythonTest_dbaccess_python.mk')
-rw-r--r--dbaccess/PythonTest_dbaccess_python.mk6
1 files changed, 6 insertions, 0 deletions
diff --git a/dbaccess/PythonTest_dbaccess_python.mk b/dbaccess/PythonTest_dbaccess_python.mk
index 7954cbc3e911..874dac927e5b 100644
--- a/dbaccess/PythonTest_dbaccess_python.mk
+++ b/dbaccess/PythonTest_dbaccess_python.mk
@@ -17,4 +17,10 @@ $(eval $(call gb_PythonTest_add_modules,dbaccess_python,$(SRCDIR)/dbaccess/qa/py
fdo84315 \
))
+$(call gb_PythonTest_get_target,dbaccess_python) : $(WORKDIR)/CppunitTest/fdo84315.odb
+$(WORKDIR)/CppunitTest/fdo84315.odb : $(SRCDIR)/dbaccess/qa/extras/testdocuments/fdo84315.odb
+ mkdir -p $(dir $@)
+ cp -P -f "$<" "$@"
+.PHONY: $(WORKDIR)/CppunitTest/fdo84315.odb
+
# vim: set noet sw=4 ts=4: