xref: /aoo4110/main/solenv/inc/_cppunit.mk (revision b1cdbd2c)
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# unroll begin
22# ---- create the test libraries ------------------------------------
23
24.IF "$(SHL1TARGETN)"!=""
25ALLTAR : test1
26test1 .PHONY : $(SHL1TARGETN)
27		@echo ----------------------------------------------------------
28		@echo - start unit test \#1 on library $(SHL1TARGETN)
29		@echo ----------------------------------------------------------
30		$(CPPUNITTESTER) $(SHL1TARGETN)
31.ENDIF
32
33# unroll begin
34# ---- create the test libraries ------------------------------------
35
36.IF "$(SHL2TARGETN)"!=""
37ALLTAR : test2
38test2 .PHONY : $(SHL2TARGETN)
39		@echo ----------------------------------------------------------
40		@echo - start unit test \#2 on library $(SHL2TARGETN)
41		@echo ----------------------------------------------------------
42		$(CPPUNITTESTER) $(SHL2TARGETN)
43.ENDIF
44
45# unroll begin
46# ---- create the test libraries ------------------------------------
47
48.IF "$(SHL3TARGETN)"!=""
49ALLTAR : test3
50test3 .PHONY : $(SHL3TARGETN)
51		@echo ----------------------------------------------------------
52		@echo - start unit test \#3 on library $(SHL3TARGETN)
53		@echo ----------------------------------------------------------
54		$(CPPUNITTESTER) $(SHL3TARGETN)
55.ENDIF
56
57# unroll begin
58# ---- create the test libraries ------------------------------------
59
60.IF "$(SHL4TARGETN)"!=""
61ALLTAR : test4
62test4 .PHONY : $(SHL4TARGETN)
63		@echo ----------------------------------------------------------
64		@echo - start unit test \#4 on library $(SHL4TARGETN)
65		@echo ----------------------------------------------------------
66		$(CPPUNITTESTER) $(SHL4TARGETN)
67.ENDIF
68
69# unroll begin
70# ---- create the test libraries ------------------------------------
71
72.IF "$(SHL5TARGETN)"!=""
73ALLTAR : test5
74test5 .PHONY : $(SHL5TARGETN)
75		@echo ----------------------------------------------------------
76		@echo - start unit test \#5 on library $(SHL5TARGETN)
77		@echo ----------------------------------------------------------
78		$(CPPUNITTESTER) $(SHL5TARGETN)
79.ENDIF
80
81# unroll begin
82# ---- create the test libraries ------------------------------------
83
84.IF "$(SHL6TARGETN)"!=""
85ALLTAR : test6
86test6 .PHONY : $(SHL6TARGETN)
87		@echo ----------------------------------------------------------
88		@echo - start unit test \#6 on library $(SHL6TARGETN)
89		@echo ----------------------------------------------------------
90		$(CPPUNITTESTER) $(SHL6TARGETN)
91.ENDIF
92
93# unroll begin
94# ---- create the test libraries ------------------------------------
95
96.IF "$(SHL7TARGETN)"!=""
97ALLTAR : test7
98test7 .PHONY : $(SHL7TARGETN)
99		@echo ----------------------------------------------------------
100		@echo - start unit test \#7 on library $(SHL7TARGETN)
101		@echo ----------------------------------------------------------
102		$(CPPUNITTESTER) $(SHL7TARGETN)
103.ENDIF
104
105# unroll begin
106# ---- create the test libraries ------------------------------------
107
108.IF "$(SHL8TARGETN)"!=""
109ALLTAR : test8
110test8 .PHONY : $(SHL8TARGETN)
111		@echo ----------------------------------------------------------
112		@echo - start unit test \#8 on library $(SHL8TARGETN)
113		@echo ----------------------------------------------------------
114		$(CPPUNITTESTER) $(SHL8TARGETN)
115.ENDIF
116
117# unroll begin
118# ---- create the test libraries ------------------------------------
119
120.IF "$(SHL9TARGETN)"!=""
121ALLTAR : test9
122test9 .PHONY : $(SHL9TARGETN)
123		@echo ----------------------------------------------------------
124		@echo - start unit test \#9 on library $(SHL9TARGETN)
125		@echo ----------------------------------------------------------
126		$(CPPUNITTESTER) $(SHL9TARGETN)
127.ENDIF
128
129# unroll begin
130# ---- create the test libraries ------------------------------------
131
132.IF "$(SHL10TARGETN)"!=""
133ALLTAR : test10
134test10 .PHONY : $(SHL10TARGETN)
135		@echo ----------------------------------------------------------
136		@echo - start unit test \#10 on library $(SHL10TARGETN)
137		@echo ----------------------------------------------------------
138		$(CPPUNITTESTER) $(SHL10TARGETN)
139.ENDIF
140
141