installationtest.mk (e3c01311) installationtest.mk (f4026d8c)
1#**************************************************************
2#
3# Licensed to the Apache Software Foundation (ASF) under one
4# or more contributor license agreements. See the NOTICE file
5# distributed with this work for additional information
6# regarding copyright ownership. The ASF licenses this file
7# to you under the Apache License, Version 2.0 (the
8# "License"); you may not use this file except in compliance

--- 81 unchanged lines hidden (view full) ---

90# installing into the temp directory instead of the module output tree (in which
91# case $(TARGET).installation.flag contains the path to the temp installation,
92# which is removed after smoketest); can be removed once issue 50885 is fixed;
93# on other platforms, a single installation to solver is created in
94# smoketestoo_native:
95.IF "$(OS)" == "WNT" && "$(OOO_TEST_SOFFICE)" == ""
96OOO_EXTRACT_TO:=$(shell cygpath -m `mktemp -dt ooosmoke.XXXXXX`)
97$(MISC)/$(TARGET)/installation.flag : $(shell \
1#**************************************************************
2#
3# Licensed to the Apache Software Foundation (ASF) under one
4# or more contributor license agreements. See the NOTICE file
5# distributed with this work for additional information
6# regarding copyright ownership. The ASF licenses this file
7# to you under the Apache License, Version 2.0 (the
8# "License"); you may not use this file except in compliance

--- 81 unchanged lines hidden (view full) ---

90# installing into the temp directory instead of the module output tree (in which
91# case $(TARGET).installation.flag contains the path to the temp installation,
92# which is removed after smoketest); can be removed once issue 50885 is fixed;
93# on other platforms, a single installation to solver is created in
94# smoketestoo_native:
95.IF "$(OS)" == "WNT" && "$(OOO_TEST_SOFFICE)" == ""
96OOO_EXTRACT_TO:=$(shell cygpath -m `mktemp -dt ooosmoke.XXXXXX`)
97$(MISC)/$(TARGET)/installation.flag : $(shell \
98 ls $(installationtest_instset)/OOo_*_install-arc_$(defaultlangiso).zip)
98 ls $(installationtest_instset)/Apache_OpenOffice_*_install-arc_$(defaultlangiso).zip)
99 $(COMMAND_ECHO)$(MKDIRHIER) $(@:d)
99 $(COMMAND_ECHO)$(MKDIRHIER) $(@:d)
100 $(COMMAND_ECHO)unzip -q $(installationtest_instset)/OOo_*_install-arc_$(defaultlangiso).zip -d "$(OOO_EXTRACT_TO)"
101 $(COMMAND_ECHO)mv "$(OOO_EXTRACT_TO)"/OOo_*_install-arc_$(defaultlangiso) "$(OOO_EXTRACT_TO)"/opt
100 $(COMMAND_ECHO)unzip -q $(installationtest_instset)/Apache_OpenOffice_*_install-arc_$(defaultlangiso).zip -d "$(OOO_EXTRACT_TO)"
101 $(COMMAND_ECHO)mv "$(OOO_EXTRACT_TO)"/Apache_OpenOffice_*_install-arc_$(defaultlangiso) "$(OOO_EXTRACT_TO)"/opt
102 $(COMMAND_ECHO)echo "$(OOO_EXTRACT_TO)" > $@
103.END
104
105cpptest .PHONY :
106 $(COMMAND_ECHO)$(RM) -r $(MISC)/$(TARGET)/user
107 $(COMMAND_ECHO)$(MKDIRHIER) $(MISC)/$(TARGET)/user
108 $(CPPUNITTESTER) \
109 -env:UNO_SERVICES=$(my_file)$(SOLARXMLDIR)/ure/services.rdb \

--- 47 unchanged lines hidden ---
102 $(COMMAND_ECHO)echo "$(OOO_EXTRACT_TO)" > $@
103.END
104
105cpptest .PHONY :
106 $(COMMAND_ECHO)$(RM) -r $(MISC)/$(TARGET)/user
107 $(COMMAND_ECHO)$(MKDIRHIER) $(MISC)/$(TARGET)/user
108 $(CPPUNITTESTER) \
109 -env:UNO_SERVICES=$(my_file)$(SOLARXMLDIR)/ure/services.rdb \

--- 47 unchanged lines hidden ---