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 = connectivity 29TARGET = ConnectivityComplexTests 30 31.IF "$(OOO_JUNIT_JAR)" != "" 32PACKAGE = complex$/connectivity 33 34# here store only Files which contain a @Test 35JAVATESTFILES = \ 36 DBaseDriverTest.java \ 37 FlatFileAccess.java \ 38 HsqlDriverTest.java 39 40# Needs a MySQL database set up and driver JAR added: 41# JdbcLongVarCharTest.java 42 43# put here all other files 44JAVAFILES = $(JAVATESTFILES) \ 45 dbase/DBaseDateFunctions.java \ 46 dbase/DBaseNumericFunctions.java \ 47 dbase/DBaseSqlTests.java \ 48 dbase/DBaseStringFunctions.java \ 49 hsqldb/DatabaseMetaData.java \ 50 hsqldb/TestCacheSize.java \ 51 SubTestCase.java \ 52 TestCase.java 53 54JARFILES = ridl.jar unoil.jar jurt.jar juh.jar java_uno.jar OOoRunner.jar test.jar 55EXTRAJARFILES = $(OOO_JUNIT_JAR) 56.IF "$(SYSTEM_HSQLDB)" == "YES" 57EXTRAJARFILES += $(HSQLDB_JAR) 58.ELSE 59JARFILES += hsqldb.jar 60.ENDIF 61 62# Sample how to debug 63# JAVAIFLAGS+=-Xdebug -Xrunjdwp:transport=dt_socket,server=y,address=9003,suspend=y 64 65.END 66 67.INCLUDE: settings.mk 68.INCLUDE: target.mk 69.INCLUDE: installationtest.mk 70 71ALLTAR : javatest 72 73.END 74