bump product version to 6.4.0.3
[LibreOffice.git] / package / qa / storages / makefile.mk
blobd41284603199492b770f8d1f46f14eb280933f07
2 # This file is part of the LibreOffice project.
4 # This Source Code Form is subject to the terms of the Mozilla Public
5 # License, v. 2.0. If a copy of the MPL was not distributed with this
6 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 # This file incorporates work covered by the following license notice:
10 # Licensed to the Apache Software Foundation (ASF) under one or more
11 # contributor license agreements. See the NOTICE file distributed
12 # with this work for additional information regarding copyright
13 # ownership. The ASF licenses this file to you under the Apache
14 # License, Version 2.0 (the "License"); you may not use this file
15 # except in compliance with the License. You may obtain a copy of
16 # the License at http://www.apache.org/licenses/LICENSE-2.0 .
21 PRJ = ..$/..
22 TARGET = StorageUnitTest
23 PRJNAME = package
24 PACKAGE = complex$/storages
26 # --- Settings -----------------------------------------------------
27 .INCLUDE: settings.mk
30 #----- compile .java files -----------------------------------------
32 JARFILES = ridl.jar unoil.jar jurt.jar juh.jar java_uno.jar OOoRunner.jar
34 JAVAFILES =\
35 StorageUnitTest.java\
36 StorageTest.java\
37 TestHelper.java\
38 BorderedStream.java\
39 Test01.java\
40 Test02.java\
41 Test03.java\
42 Test04.java\
43 Test05.java\
44 Test06.java\
45 Test07.java\
46 Test08.java\
47 Test09.java\
48 Test10.java\
49 Test11.java\
50 Test12.java\
51 Test13.java\
52 Test14.java\
53 Test15.java\
54 Test16.java\
55 Test17.java\
56 Test18.java\
57 RegressionTest_114358.java\
58 RegressionTest_i29169.java\
59 RegressionTest_i30400.java\
60 RegressionTest_i29321.java\
61 RegressionTest_i30677.java\
62 RegressionTest_i27773.java\
63 RegressionTest_i46848.java\
64 RegressionTest_i55821.java\
65 RegressionTest_i35095.java\
66 RegressionTest_i49755.java\
67 RegressionTest_i59886.java\
68 RegressionTest_i61909.java\
69 RegressionTest_i84234.java\
70 RegressionTest_125919.java
72 JAVACLASSFILES = $(foreach,i,$(JAVAFILES) $(CLASSDIR)$/$(PACKAGE)$/$(i:b).class)
74 #----- make a jar from compiled files ------------------------------
76 MAXLINELENGTH = 100000
78 JARCLASSDIRS = $(PACKAGE)
79 JARTARGET = $(TARGET).jar
80 JARCOMPRESS = TRUE
82 # --- Parameters for the test --------------------------------------
84 # start an office if the parameter is set for the makefile
85 .IF "$(OFFICE)" == ""
86 CT_APPEXECCOMMAND =
87 .ELSE
88 CT_APPEXECCOMMAND = -AppExecutionCommand "$(OFFICE)$/soffice --accept=socket,host=localhost,port=8100;urp;"
89 .ENDIF
91 # test base is java complex
92 CT_TESTBASE = -TestBase java_complex
94 # test looks something like the.full.package.TestName
95 CT_TEST = -o $(PACKAGE:s\$/\.\).$(JAVAFILES:b)
97 # start the runner application
98 CT_APP = org.openoffice.Runner
100 # --- Targets ------------------------------------------------------
102 .INCLUDE: target.mk
104 RUN: run
106 run:
107 java -cp $(CLASSPATH) $(CT_APP) $(CT_TESTBASE) $(CT_APPEXECCOMMAND) $(CT_TEST)