1 | #! /usr/bin/env python |
---|
2 | |
---|
3 | #------------------------------------------------------------------------ |
---|
4 | # This file is distributed under the Common Public License. |
---|
5 | # It is part of the BuildTools project in COIN-OR (www.coin-or.org) |
---|
6 | #------------------------------------------------------------------------ |
---|
7 | |
---|
8 | import os |
---|
9 | import NBcheckResult |
---|
10 | |
---|
11 | #---------------------------------------------------------------------- |
---|
12 | # This file defines variables which describe how the specific |
---|
13 | # coin-or projects are to be tested and who are their managers. |
---|
14 | #---------------------------------------------------------------------- |
---|
15 | |
---|
16 | #---------------------------------------------------------------------- |
---|
17 | PROJECT_EMAIL_ADDRS = {} |
---|
18 | SLN_BLD_TEST = {} |
---|
19 | CFG_BLD_TEST = {} |
---|
20 | SLN_FILE = {} |
---|
21 | |
---|
22 | |
---|
23 | #---------------------------------------------------------------------- |
---|
24 | PROJECT_EMAIL_ADDRS['CoinUtils'] = 'ladanyi _AT_ us _DOT_ ibm _DOT_ com' |
---|
25 | |
---|
26 | CFG_BLD_TEST['CoinUtils']=[ |
---|
27 | {'dir':'', |
---|
28 | 'cmd':'make test', |
---|
29 | 'check':[ NBcheckResult.rc0, |
---|
30 | NBcheckResult.standardSuccessMessage ] } ] |
---|
31 | #does not have references to third party packages |
---|
32 | |
---|
33 | #---------------------------------------------------------------------- |
---|
34 | PROJECT_EMAIL_ADDRS['DyLP'] = 'lou _AT_ cs _DOT_ sfu _DOT_ ca' |
---|
35 | |
---|
36 | CFG_BLD_TEST['DyLP']=[ |
---|
37 | {'dir':'', |
---|
38 | 'cmd':'make test', |
---|
39 | 'check':[ NBcheckResult.rc0, |
---|
40 | NBcheckResult.standardSuccessMessage, |
---|
41 | NBcheckResult.noSolverInterfaceTestingIssueMessage ] }, |
---|
42 | {'dir':'Osi/test', |
---|
43 | 'cmd':'./unitTest -testOsiSolverInterface -netlibDir=_NETLIBDIR_ -cerr2cout', |
---|
44 | 'check':[ NBcheckResult.rc0, |
---|
45 | NBcheckResult.standardSuccessMessage, |
---|
46 | NBcheckResult.noSolverInterfaceTestingIssueMessage] } ] |
---|
47 | |
---|
48 | #does not have references to third party packages |
---|
49 | |
---|
50 | #---------------------------------------------------------------------- |
---|
51 | PROJECT_EMAIL_ADDRS['Clp'] = 'jjforre _AT_ us _DOT_ ibm _DOT_ com' |
---|
52 | |
---|
53 | CFG_BLD_TEST['Clp']=[ |
---|
54 | {'dir':'', |
---|
55 | 'cmd':'make test', |
---|
56 | 'check':[ NBcheckResult.rc0, |
---|
57 | NBcheckResult.standardSuccessMessage ] }, |
---|
58 | {'dir':'Clp/src', |
---|
59 | 'cmd':'./clp -unitTest -dirNetlib=_NETLIBDIR_ -netlib', |
---|
60 | 'check':[ NBcheckResult.rc0, |
---|
61 | NBcheckResult.standardSuccessMessage, |
---|
62 | NBcheckResult.endWithWoodw] } ] |
---|
63 | SLN_BLD_TEST['Clp']=[ |
---|
64 | {'dir':r'Clp\MSVisualStudio\v8\clp\Release', |
---|
65 | 'cmd':'clp -dirSample=_SAMPLEDIR_ -unitTest -dirNetlib=_NETLIBDIR_ -netlib', |
---|
66 | 'check':[ NBcheckResult.rc0, |
---|
67 | NBcheckResult.standardSuccessMessage, |
---|
68 | NBcheckResult.endWithWoodw] }, |
---|
69 | {'dir':r'Clp\MSVisualStudio\v8\clp\Debug', |
---|
70 | 'cmd':'clp -dirSample=_SAMPLEDIR_ -unitTest -dirNetlib=_NETLIBDIR_ -netlib', |
---|
71 | 'check':[ NBcheckResult.rc0, |
---|
72 | NBcheckResult.standardSuccessMessage, |
---|
73 | NBcheckResult.endWithWoodw] } ] |
---|
74 | |
---|
75 | #---------------------------------------------------------------------- |
---|
76 | PROJECT_EMAIL_ADDRS['SYMPHONY'] = 'tkr2 _AT_ lehigh _DOT_ edu' |
---|
77 | CFG_BLD_TEST['SYMPHONY']=[ |
---|
78 | {'dir':'', |
---|
79 | 'cmd':'make test', |
---|
80 | 'check':[ NBcheckResult.rc0, |
---|
81 | NBcheckResult.standardSuccessMessage ] }, |
---|
82 | {'dir':'', |
---|
83 | 'cmd':'make fulltest', |
---|
84 | 'check':[ NBcheckResult.rc0, |
---|
85 | NBcheckResult.standardSuccessMessage ] } ] |
---|
86 | SLN_BLD_TEST['SYMPHONY']=[ { |
---|
87 | 'dir':r'SYMPHONY\MSVisualStudio\v8\Release', |
---|
88 | 'cmd':r'symphony -F _NETLIBDIR_\25fv47.mps', |
---|
89 | 'check':[ NBcheckResult.rc0 ] }, |
---|
90 | {'dir':r'SYMPHONY\MSVisualStudio\v8\Debug', |
---|
91 | 'cmd':r'symphony -F _NETLIBDIR_\25fv47.mps', |
---|
92 | 'check':[ NBcheckResult.rc0 ] } ] |
---|
93 | |
---|
94 | #---------------------------------------------------------------------- |
---|
95 | PROJECT_EMAIL_ADDRS['Vol'] = 'barahon _AT_ us _DOT_ ibm _DOT_ com' |
---|
96 | CFG_BLD_TEST['Vol']=[ |
---|
97 | {'dir':'', |
---|
98 | 'cmd':'make test', |
---|
99 | 'check':[ NBcheckResult.rc0 ] } ] |
---|
100 | #does not have references to third party packages |
---|
101 | |
---|
102 | #---------------------------------------------------------------------- |
---|
103 | PROJECT_EMAIL_ADDRS['Osi'] = 'mjs _AT_ ces _DOT_ clemson _DOT_ edu' |
---|
104 | CFG_BLD_TEST['Osi']=[ |
---|
105 | {'dir':'', |
---|
106 | 'cmd':'make test', |
---|
107 | 'check':[ NBcheckResult.rc0, |
---|
108 | NBcheckResult.standardSuccessMessage, |
---|
109 | NBcheckResult.noSolverInterfaceTestingIssueMessage ] }, |
---|
110 | {'dir':'Osi/test', |
---|
111 | 'cmd':'./unitTest -testOsiSolverInterface -netlibDir=_NETLIBDIR_ -cerr2cout', |
---|
112 | 'check':[ NBcheckResult.rc0, |
---|
113 | NBcheckResult.standardSuccessMessage, |
---|
114 | NBcheckResult.noSolverInterfaceTestingIssueMessage] } ] |
---|
115 | |
---|
116 | SLN_BLD_TEST['Osi']=[ |
---|
117 | {'dir':r'Osi\MSVisualStudio\v8\OsiExamplesBuild\Release', |
---|
118 | 'cmd':'OsiExamplesBuild', |
---|
119 | 'check':[ NBcheckResult.rc0 ] }, |
---|
120 | {'dir':r'Osi\MSVisualStudio\v8\OsiExamplesBuild\Debug', |
---|
121 | 'cmd':'OsiExamplesBuild', |
---|
122 | 'check':[ NBcheckResult.rc0 ] } ] |
---|
123 | |
---|
124 | #---------------------------------------------------------------------- |
---|
125 | PROJECT_EMAIL_ADDRS['Cgl'] = 'robinlh _AT_ us _DOT_ ibm _DOT_ com' |
---|
126 | CFG_BLD_TEST['Cgl']=[ |
---|
127 | {'dir':'', |
---|
128 | 'cmd':'make test', |
---|
129 | 'check':[ NBcheckResult.rc0, |
---|
130 | NBcheckResult.standardSuccessMessage ] } ] |
---|
131 | #does not have references to third party packages |
---|
132 | |
---|
133 | #---------------------------------------------------------------------- |
---|
134 | PROJECT_EMAIL_ADDRS['Cbc'] = 'jjforre _AT_ us _DOT_ ibm _DOT_ com' |
---|
135 | |
---|
136 | CFG_BLD_TEST['Cbc']=[ |
---|
137 | {'dir':'', |
---|
138 | 'cmd':'make test', |
---|
139 | 'check':[ NBcheckResult.rc0, |
---|
140 | NBcheckResult.cbcMakeTestSuccessMessage ] }, |
---|
141 | {'dir':'Cbc/src', |
---|
142 | 'cmd':'./cbc -unitTest -dirMiplib=_MIPLIB3DIR_ -miplib', |
---|
143 | 'check':[ NBcheckResult.rc0to2 ] } ] |
---|
144 | |
---|
145 | SLN_BLD_TEST['Cbc']=[ |
---|
146 | {'dir':r'Cbc\MSVisualStudio\v8\cbcSolve\Release', |
---|
147 | 'cmd':'cbcSolve -dirSample=_SAMPLEDIR_ -unitTest -dirMiplib=_MIPLIB3DIR_ -miplib', |
---|
148 | 'check':[ NBcheckResult.rc0to2 ] }, |
---|
149 | {'dir':r'Cbc\MSVisualStudio\v8\cbcSolve\Debug', |
---|
150 | 'cmd':'cbcSolve -dirSample=_SAMPLEDIR_ -unitTest -dirMiplib=_MIPLIB3DIR_ -miplib', |
---|
151 | 'check':[ NBcheckResult.rc0to2 ] } ] |
---|
152 | |
---|
153 | #---------------------------------------------------------------------- |
---|
154 | PROJECT_EMAIL_ADDRS['Ipopt'] = 'andreasw _AT_ us _DOT_ ibm _DOT_ com' |
---|
155 | |
---|
156 | CFG_BLD_TEST['Ipopt']=[ |
---|
157 | {'dir':'', |
---|
158 | 'cmd':'make test', |
---|
159 | 'check':[ NBcheckResult.rc0 |
---|
160 | #,NBcheckResult.standardSuccessMessage |
---|
161 | ] } ] |
---|
162 | #third party packages are not optional here |
---|
163 | |
---|
164 | #---------------------------------------------------------------------- |
---|
165 | PROJECT_EMAIL_ADDRS['Bonmin'] = 'pbonami _AT_ us _DOT_ ibm _DOT_ com' |
---|
166 | |
---|
167 | CFG_BLD_TEST['Bonmin']=[ |
---|
168 | {'dir':'', |
---|
169 | 'cmd':'make test', |
---|
170 | 'check':[ NBcheckResult.rc0 ] } ] |
---|
171 | #third party packages are not optional here |
---|
172 | |
---|
173 | #---------------------------------------------------------------------- |
---|
174 | PROJECT_EMAIL_ADDRS['FlopC++'] = 'Tim _DOT_ Hultberg _AT_ eumetsat _DOT_ int' |
---|
175 | |
---|
176 | CFG_BLD_TEST['FlopC++']=[ |
---|
177 | {'dir':'', |
---|
178 | 'cmd':'make test', |
---|
179 | 'check':[ NBcheckResult.rc0, |
---|
180 | NBcheckResult.standardSuccessMessage ] } ] |
---|
181 | SLN_FILE['FlopC++']=r'FlopCpp\MSVisualStudio\v8\FlopCpp.sln' |
---|
182 | SLN_BLD_TEST['FlopC++']=[ |
---|
183 | {'dir':r'FlopCpp\MSVisualStudio\v8\Release', |
---|
184 | 'cmd':'unitTest', |
---|
185 | 'check':[ NBcheckResult.rc0, |
---|
186 | NBcheckResult.standardSuccessMessage ] }, |
---|
187 | {'dir':r'FlopCpp\MSVisualStudio\v8\Debug', |
---|
188 | 'cmd':'unitTest', |
---|
189 | 'check':[ NBcheckResult.rc0, |
---|
190 | NBcheckResult.standardSuccessMessage ] } ] |
---|
191 | |
---|
192 | #does not have references to third party packages |
---|
193 | |
---|
194 | #---------------------------------------------------------------------- |
---|
195 | PROJECT_EMAIL_ADDRS['OS'] = 'kipp _DOT_ martin _AT_ chicagogsb _DOT_ edu' |
---|
196 | CFG_BLD_TEST['OS']=[ |
---|
197 | {'dir':'', |
---|
198 | 'cmd':'make test', |
---|
199 | 'check':[ NBcheckResult.rc0, |
---|
200 | NBcheckResult.standardSuccessMessage ] } ] |
---|
201 | SLN_BLD_TEST['OS']=[ |
---|
202 | {'dir':r'OS\test', |
---|
203 | 'cmd':'unitTestDebug', |
---|
204 | 'check':[ NBcheckResult.rc0, |
---|
205 | NBcheckResult.standardSuccessMessage ] }, |
---|
206 | {'dir':r'OS\test', |
---|
207 | 'cmd':'unitTestRelease', |
---|
208 | 'check':[ NBcheckResult.rc0, |
---|
209 | NBcheckResult.standardSuccessMessage ] } ] |
---|
210 | #third party packages are not optional if Ipopt is not excluded |
---|
211 | |
---|
212 | #---------------------------------------------------------------------- |
---|
213 | PROJECT_EMAIL_ADDRS['LaGO'] = 'stefan _AT_ math _DOT_ hu-berlin _DOT_ de' |
---|
214 | CFG_BLD_TEST['LaGO']=[ |
---|
215 | {'dir':'', |
---|
216 | 'cmd':'make test', |
---|
217 | 'check':[ NBcheckResult.rc0, |
---|
218 | NBcheckResult.standardSuccessMessage ] } ] |
---|
219 | #third party packages are not optional if Ipopt is not excluded |
---|
220 | |
---|
221 | #---------------------------------------------------------------------- |
---|
222 | PROJECT_EMAIL_ADDRS['CppAD'] = 'bradbell _AT_ washington _DOT_ edu' |
---|
223 | |
---|
224 | CFG_BLD_TEST['CppAD']=[ |
---|
225 | {'dir':'', |
---|
226 | 'cmd':'./example/example', |
---|
227 | 'check':[ NBcheckResult.rc0 ] }, |
---|
228 | {'dir':'', |
---|
229 | 'cmd':'./test_more/test_more', |
---|
230 | 'check':[ NBcheckResult.rc0 ] } ] |
---|
231 | #does not have references to third party packages |
---|
232 | |
---|
233 | #---------------------------------------------------------------------- |
---|
234 | PROJECT_EMAIL_ADDRS['Smi'] = 'kingaj _AT_ us _DOT_ ibm _DOT_ com' |
---|
235 | |
---|
236 | CFG_BLD_TEST['Smi']=[ |
---|
237 | {'dir':'', |
---|
238 | 'cmd':'make test', |
---|
239 | 'check':[ NBcheckResult.rc0, |
---|
240 | NBcheckResult.endWithStarDoneStar ] } ] |
---|
241 | SLN_BLD_TEST['Smi']=[ |
---|
242 | {'dir':r'Smi\test', |
---|
243 | 'cmd':r'..\MSVisualStudio\v8\unitTestSmi\Release\smiUnitTest', |
---|
244 | 'check':[ NBcheckResult.rc0, |
---|
245 | NBcheckResult.endWithStarDoneStar ] }, |
---|
246 | {'dir':r'Smi\test', |
---|
247 | 'cmd':r'..\MSVisualStudio\v8\unitTestSmi\Debug\smiUnitTest', |
---|
248 | 'check':[ NBcheckResult.rc0, |
---|
249 | NBcheckResult.endWithStarDoneStar ] } ] |
---|
250 | #does not have references to third party packages |
---|
251 | #TODO: need some check whether make test was successful; what is the behaviour in Smi's unittest if it fails? |
---|