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
commitfdcd4b7a8164053c338150fe34823c0d3cd588e4 (patch)
tree72a746632f1da78c7b9ad0aa24d8de43b21d8706 /smoketestoo_native
parent5bf30beb87fe471dc055148d49c5034a105c650e (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 0947efe36af4..67ef11189a31 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