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.IF "$(OOO_SUBSEQUENT_TESTS)" == "" 24nothing .PHONY: 25.ELSE 26 27PRJ := ..$/.. 28PRJNAME := testtools 29TARGET := test_cli 30 31.IF "$(OOO_JUNIT_JAR)" != "" 32PACKAGE = clitest 33 34# here store only Files which contain a @Test 35JAVATESTFILES = \ 36 CLITest.java 37 38# put here all other files 39JAVAFILES = $(JAVATESTFILES) 40 41JARFILES = ridl.jar unoil.jar jurt.jar juh.jar java_uno.jar OOoRunner.jar 42EXTRAJARFILES = $(OOO_JUNIT_JAR) 43 44EXETARGET = $(BIN)$/cli_bridgetest_inprocess.exe 45EXEARG_WIN= $(BIN)$/cli_bridgetest_inprocess.ini 46EXEARG= $(strip $(subst,$/,/ $(EXEARG_WIN))) 47 48JAVAIFLAGS =\ 49 -Dcli_test=$(EXETARGET) \ 50 -Dcli_test_arg=$(EXEARG) 51 52# Sample how to debug 53# JAVAIFLAGS+=-Xdebug -Xrunjdwp:transport=dt_socket,server=y,address=9003,suspend=y 54 55.END 56 57.INCLUDE: settings.mk 58.INCLUDE: target.mk 59.INCLUDE: installationtest.mk 60 61ALLTAR : javatest 62 63.END 64 65