summaryrefslogtreecommitdiff
path: root/smoketestoo_native
diff options
context:
space:
mode:
authorsb <sb@openoffice.org>2010-02-23 13:55:51 +0100
committersb <sb@openoffice.org>2010-02-23 13:55:51 +0100
commitd57250a10c3b80ecedf4485285435ae4351c8956 (patch)
tree15a4da47b95971df442fc4df133cab690f88349f /smoketestoo_native
parente70c11dc705c22beb78d1cb02a761fe152e1cffb (diff)
sb118: on non-WNT, use a single solver OOo installation for all tests
Diffstat (limited to 'smoketestoo_native')
-rw-r--r--smoketestoo_native/makefile.mk13
1 files changed, 13 insertions, 0 deletions
diff --git a/smoketestoo_native/makefile.mk b/smoketestoo_native/makefile.mk
index 0947efe36..67ef11189 100644
--- a/smoketestoo_native/makefile.mk
+++ b/smoketestoo_native/makefile.mk
@@ -55,3 +55,16 @@ OOO_CPPTEST_ARGS = $(SHL1TARGETN) -env:arg-doc=$(BIN)/smoketestdoc.sxw
$(BIN)/smoketestdoc.sxw: data/smoketestdoc.sxw
$(COPY) $< $@
+
+.IF "$(OS)" != "WNT"
+$(installationtest_instpath).flag : \
+ $(shell ls $(installationtest_instset)/OOo_*_install.tar.gz)
+ $(RM) -r $(installationtest_instpath)
+ $(MKDIRHIER) $(installationtest_instpath)
+ cd $(installationtest_instpath) && \
+ $(GNUTAR) xfz $(installationtest_instset)/OOo_*_install.tar.gz
+ $(MV) $(installationtest_instpath)/OOo_*_install \
+ $(installationtest_instpath)/opt
+ $(TOUCH) $@
+cpptest : $(installationtest_instpath).flag
+.END