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 9# with the License. You may obtain a copy of the License at 10# 11# http://www.apache.org/licenses/LICENSE-2.0 12# 13# Unless required by applicable law or agreed to in writing, 14# software distributed under the License is distributed on an 15# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16# KIND, either express or implied. See the License for the 17# specific language governing permissions and limitations 18# under the License. 19# 20#************************************************************** 21 22 23 24.IF "$(OOO_SUBSEQUENT_TESTS)" == "" 25nothing .PHONY: 26.ELSE 27 28PRJ = ../../.. 29PRJNAME = extensions 30TARGET = qa_complex_extensions 31 32.IF "$(OOO_JUNIT_JAR)" != "" 33PACKAGE = complex/extensions 34JAVATESTFILES = \ 35 OfficeResourceLoader.java 36 37JAVAFILES = $(JAVATESTFILES) 38 39JARFILES = OOoRunner.jar ridl.jar test.jar unoil.jar jurt.jar ConnectivityTools.jar 40EXTRAJARFILES = $(OOO_JUNIT_JAR) 41.END 42 43 44 45.IF "$(GUI)"=="WNT" 46command_seperator=&& 47.ELSE 48command_seperator=; 49.ENDIF 50 51 52.INCLUDE: settings.mk 53 54#----- resource files for the OfficeResourceLoader test ------------ 55RES_TARGET = orl 56 57SRS1NAME=$(RES_TARGET)_A_ 58SRC1FILES= \ 59 $(RES_TARGET)_en-US.src 60 61RES1FILELIST=\ 62 $(SRS)$/$(RES_TARGET)_A_.srs 63 64RESLIB1NAME=$(RES_TARGET)_A_ 65RESLIB1SRSFILES=$(RES1FILELIST) 66 67 68 69SRS2NAME=$(RES_TARGET)_B_ 70SRC2FILES= \ 71 $(RES_TARGET)_de.src 72 73RES2FILELIST=\ 74 $(SRS)$/$(RES_TARGET)_B_.srs 75 76RESLIB2NAME=$(RES_TARGET)_B_ 77RESLIB2SRSFILES=$(RES2FILELIST) 78 79.INCLUDE: target.mk 80.INCLUDE: installationtest.mk 81 82 83#----- resource files for the OfficeResourceLoader test ------------ 84 85 86ALLTAR : copy_resources javatest 87 88copy_resources: $(RESLIB1TARGETN) $(RESLIB2TARGETN) 89 $(foreach,i,$(RESLIB1TARGETN) $(COPY) $i $(i:s/de/invalid/:s/_A_//) $(command_seperator)) echo 90 $(foreach,i,$(RESLIB2TARGETN) $(COPY) $i $(i:s/en-US/invalid/:s/_B_//) $(command_seperator)) echo 91 92 93.END 94 95