xref: /trunk/main/jurt/test/com/sun/star/makefile.mk (revision 9cbd97ce)
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 = jurt
29TARGET  = test_jurt
30
31.IF "$(OOO_JUNIT_JAR)" != ""
32PACKAGE = com$/sun$/star
33
34# here store only Files which contain a @Test
35JAVATESTFILES = \
36    lib/util/NativeLibraryLoader_Test.java \
37    lib/uno/environments/java/java_environment_Test.java \
38    lib/uno/environments/remote/JobQueue_Test.java \
39    lib/uno/environments/remote/ThreadPool_Test.java \
40    lib/uno/environments/remote/JavaThreadPoolFactory_Test.java \
41    lib/uno/environments/remote/ThreadId_Test.java \
42    lib/uno/bridges/java_remote/BridgedObject_Test.java \
43    lib/uno/bridges/java_remote/java_remote_bridge_Test.java \
44    lib/uno/bridges/java_remote/ProxyFactory_Test.java \
45    comp/bridgefactory/BridgeFactory_Test.java \
46    comp/connections/PipedConnection_Test.java \
47    uno/AnyConverter_Test.java \
48    uno/UnoRuntime_EnvironmentTest.java \
49    uno/WeakReference_Test.java
50
51# put here all other files
52JAVAFILES = $(JAVATESTFILES) \
53    lib/uno/environments/remote/TestIWorkAt.java \
54    lib/uno/environments/remote/TestWorkAt.java \
55    lib/uno/environments/remote/TestReceiver.java \
56    lib/uno/environments/remote/TestMessage.java
57
58JARFILES        = ridl.jar unoil.jar jurt-test.jar juh.jar java_uno.jar test.jar OOoRunner.jar
59EXTRAJARFILES = $(OOO_JUNIT_JAR)
60
61# Sample how to debug
62# JAVAIFLAGS+=-Xdebug  -Xrunjdwp:transport=dt_socket,server=y,address=9003,suspend=y
63
64.END
65
66.INCLUDE: settings.mk
67.INCLUDE: target.mk
68.INCLUDE: installationtest.mk
69
70ALLTAR : javatest
71
72.END
73
74