xref: /trunk/main/test/Module_test.mk (revision 31bbceb0f9d64c0c2c3b22a794a1666c1f33396e)
1*19ee18fdSDamjan Jovanovic#**************************************************************
2*19ee18fdSDamjan Jovanovic#
3*19ee18fdSDamjan Jovanovic#  Licensed to the Apache Software Foundation (ASF) under one
4*19ee18fdSDamjan Jovanovic#  or more contributor license agreements.  See the NOTICE file
5*19ee18fdSDamjan Jovanovic#  distributed with this work for additional information
6*19ee18fdSDamjan Jovanovic#  regarding copyright ownership.  The ASF licenses this file
7*19ee18fdSDamjan Jovanovic#  to you under the Apache License, Version 2.0 (the
8*19ee18fdSDamjan Jovanovic#  "License"); you may not use this file except in compliance
9*19ee18fdSDamjan Jovanovic#  with the License.  You may obtain a copy of the License at
10*19ee18fdSDamjan Jovanovic#
11*19ee18fdSDamjan Jovanovic#    http://www.apache.org/licenses/LICENSE-2.0
12*19ee18fdSDamjan Jovanovic#
13*19ee18fdSDamjan Jovanovic#  Unless required by applicable law or agreed to in writing,
14*19ee18fdSDamjan Jovanovic#  software distributed under the License is distributed on an
15*19ee18fdSDamjan Jovanovic#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16*19ee18fdSDamjan Jovanovic#  KIND, either express or implied.  See the License for the
17*19ee18fdSDamjan Jovanovic#  specific language governing permissions and limitations
18*19ee18fdSDamjan Jovanovic#  under the License.
19*19ee18fdSDamjan Jovanovic#
20*19ee18fdSDamjan Jovanovic#**************************************************************
21*19ee18fdSDamjan Jovanovic
22*19ee18fdSDamjan Jovanovic
23*19ee18fdSDamjan Jovanovic
24*19ee18fdSDamjan Jovanovic$(eval $(call gb_Module_Module,test))
25*19ee18fdSDamjan Jovanovic
26*19ee18fdSDamjan Jovanovic$(eval $(call gb_Module_add_targets,test,\
27*19ee18fdSDamjan Jovanovic    Package_inc \
28*19ee18fdSDamjan Jovanovic))
29*19ee18fdSDamjan Jovanovic
30*19ee18fdSDamjan Jovanovicifneq ($(OOO_JUNIT_JAR),)
31*19ee18fdSDamjan Jovanovic$(eval $(call gb_Module_add_targets,test,\
32*19ee18fdSDamjan Jovanovic    Ant_test \
33*19ee18fdSDamjan Jovanovic    Ant_test-tools \
34*19ee18fdSDamjan Jovanovic))
35*19ee18fdSDamjan Jovanovicendif
36*19ee18fdSDamjan Jovanovic
37*19ee18fdSDamjan Jovanovicifeq ($(ENABLE_UNIT_TESTS),YES)
38*19ee18fdSDamjan Jovanovic$(eval $(call gb_Module_add_targets,test,\
39*19ee18fdSDamjan Jovanovic        Library_test \
40*19ee18fdSDamjan Jovanovic))
41*19ee18fdSDamjan Jovanovicendif
42*19ee18fdSDamjan Jovanovic
43*19ee18fdSDamjan Jovanovic
44*19ee18fdSDamjan Jovanovic# vim: set noet sw=4 ts=4:
45