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