17871dc3eSAndrew Rist#************************************************************** 27871dc3eSAndrew Rist# 37871dc3eSAndrew Rist# Licensed to the Apache Software Foundation (ASF) under one 47871dc3eSAndrew Rist# or more contributor license agreements. See the NOTICE file 57871dc3eSAndrew Rist# distributed with this work for additional information 67871dc3eSAndrew Rist# regarding copyright ownership. The ASF licenses this file 77871dc3eSAndrew Rist# to you under the Apache License, Version 2.0 (the 87871dc3eSAndrew Rist# "License"); you may not use this file except in compliance 97871dc3eSAndrew Rist# with the License. You may obtain a copy of the License at 107871dc3eSAndrew Rist# 117871dc3eSAndrew Rist# http://www.apache.org/licenses/LICENSE-2.0 127871dc3eSAndrew Rist# 137871dc3eSAndrew Rist# Unless required by applicable law or agreed to in writing, 147871dc3eSAndrew Rist# software distributed under the License is distributed on an 157871dc3eSAndrew Rist# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 167871dc3eSAndrew Rist# KIND, either express or implied. See the License for the 177871dc3eSAndrew Rist# specific language governing permissions and limitations 187871dc3eSAndrew Rist# under the License. 197871dc3eSAndrew Rist# 207871dc3eSAndrew Rist#************************************************************** 217871dc3eSAndrew Rist 227871dc3eSAndrew Rist 23*d55f601aSDamjan Jovanovic.IF "$(OOO_SUBSEQUENT_TESTS)" == "" 24*d55f601aSDamjan Jovanovicnothing .PHONY: 25*d55f601aSDamjan Jovanovic.ELSE 26cdf0e10cSrcweir 27cdf0e10cSrcweirPRJ := ..$/.. 28cdf0e10cSrcweirPRJNAME := testtools 29cdf0e10cSrcweirTARGET := test_cli 30*d55f601aSDamjan Jovanovic 31*d55f601aSDamjan Jovanovic.IF "$(OOO_JUNIT_JAR)" != "" 32cdf0e10cSrcweirPACKAGE = clitest 33cdf0e10cSrcweir 34*d55f601aSDamjan Jovanovic# here store only Files which contain a @Test 35*d55f601aSDamjan JovanovicJAVATESTFILES = \ 36*d55f601aSDamjan Jovanovic CLITest.java 37cdf0e10cSrcweir 38*d55f601aSDamjan Jovanovic# put here all other files 39*d55f601aSDamjan JovanovicJAVAFILES = $(JAVATESTFILES) 40cdf0e10cSrcweir 41cdf0e10cSrcweirJARFILES = ridl.jar unoil.jar jurt.jar juh.jar java_uno.jar OOoRunner.jar 42*d55f601aSDamjan JovanovicEXTRAJARFILES = $(OOO_JUNIT_JAR) 43cdf0e10cSrcweir 44cdf0e10cSrcweirEXETARGET = $(BIN)$/cli_bridgetest_inprocess.exe 45cdf0e10cSrcweirEXEARG_WIN= $(BIN)$/cli_bridgetest_inprocess.ini 46*d55f601aSDamjan JovanovicEXEARG= $(strip $(subst,$/,/ $(EXEARG_WIN))) 47cdf0e10cSrcweir 48*d55f601aSDamjan JovanovicJAVAIFLAGS =\ 49*d55f601aSDamjan Jovanovic -Dcli_test=$(EXETARGET) \ 50*d55f601aSDamjan Jovanovic -Dcli_test_arg=$(EXEARG) 51cdf0e10cSrcweir 52*d55f601aSDamjan Jovanovic# Sample how to debug 53*d55f601aSDamjan Jovanovic# JAVAIFLAGS+=-Xdebug -Xrunjdwp:transport=dt_socket,server=y,address=9003,suspend=y 54cdf0e10cSrcweir 55*d55f601aSDamjan Jovanovic.END 56cdf0e10cSrcweir 57*d55f601aSDamjan Jovanovic.INCLUDE: settings.mk 58*d55f601aSDamjan Jovanovic.INCLUDE: target.mk 59*d55f601aSDamjan Jovanovic.INCLUDE: installationtest.mk 60cdf0e10cSrcweir 61*d55f601aSDamjan JovanovicALLTAR : javatest 62cdf0e10cSrcweir 63*d55f601aSDamjan Jovanovic.END 64cdf0e10cSrcweir 65