source: branches/testScripts/NBprojectConfig.py @ 720

Last change on this file since 720 was 720, checked in by jpfasano, 12 years ago

Commit is to copy file from my window to linux box.
Starting to clean up code which checks for success of "make test" and unitTest

  • Property svn:eol-style set to native
File size: 4.5 KB
Line 
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
8import os
9import 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#----------------------------------------------------------------------
17PROJECT_EMAIL_ADDRS = {}
18UNITTEST_DIR = {}
19UNITTEST_CMD = {}
20ALL_TESTS_COMPLETED_SUCCESSFULLY_CMDS = {}
21CHECK_MAKE_TEST = {}
22CHECK_UNITTEST = {}
23
24
25
26#----------------------------------------------------------------------
27PROJECT_EMAIL_ADDRS['CoinUtils'] = 'ladanyi _AT_ us _DOT_ ibm _DOT_ com'
28ALL_TESTS_COMPLETED_SUCCESSFULLY_CMDS['CoinUtils'] = ['make test']
29CHECK_MAKE_TEST['CoinUtils']=[NBcheckRsult.rc0,NBcheckResult.standardSuccessMessage]
30#does not have references to third party packages
31
32#----------------------------------------------------------------------
33PROJECT_EMAIL_ADDRS['DyLP'] = 'lou _AT_ cs _DOT_ sfu _DOT_ ca'
34UNITTEST_DIR['DyLP'] = os.path.join('Osi','test')
35UNITTEST_CMD['DyLP'] = './unitTest -testOsiSolverInterface -netlibDir=_NETLIBDIR_ -cerr2cout' 
36ALL_TESTS_COMPLETED_SUCCESSFULLY_CMDS['DyLP'] = ['make test']
37#does not have references to third party packages
38
39#----------------------------------------------------------------------
40PROJECT_EMAIL_ADDRS['Clp'] = 'jjforre _AT_ us _DOT_ ibm _DOT_ com'
41UNITTEST_DIR['Clp'] = os.path.join('Clp','src')
42UNITTEST_CMD['Clp'] = './clp -unitTest dirNetlib=_NETLIBDIR_ -netlib' 
43ALL_TESTS_COMPLETED_SUCCESSFULLY_CMDS['Clp'] = ['make test',UNITTEST_CMD['Clp']]
44
45#----------------------------------------------------------------------
46PROJECT_EMAIL_ADDRS['SYMPHONY'] = 'tkr2 _AT_ lehigh _DOT_ edu'
47ALL_TESTS_COMPLETED_SUCCESSFULLY_CMDS['SYMPHONY'] = ['make test']
48
49#----------------------------------------------------------------------
50PROJECT_EMAIL_ADDRS['Vol'] = 'barahon _AT_ us _DOT_ ibm _DOT_ com'
51#does not have references to third party packages
52
53#----------------------------------------------------------------------
54PROJECT_EMAIL_ADDRS['Osi'] = 'mjs _AT_ ces _DOT_ clemson _DOT_ edu'
55UNITTEST_DIR['Osi'] = os.path.join('Osi','test')
56UNITTEST_CMD['Osi'] = './unitTest -testOsiSolverInterface -netlibDir=_NETLIBDIR_ -cerr2cout' 
57ALL_TESTS_COMPLETED_SUCCESSFULLY_CMDS['Osi'] = ['make test',UNITTEST_CMD['Osi']]
58
59#----------------------------------------------------------------------
60PROJECT_EMAIL_ADDRS['Cgl'] = 'robinlh _AT_ us _DOT_ ibm _DOT_ com'
61ALL_TESTS_COMPLETED_SUCCESSFULLY_CMDS['Cgl'] = ['make test']
62#does not have references to third party packages
63
64#----------------------------------------------------------------------
65PROJECT_EMAIL_ADDRS['Cbc'] = 'jjforre _AT_ us _DOT_ ibm _DOT_ com'
66UNITTEST_DIR['Cbc'] = os.path.join('Cbc','src')
67UNITTEST_CMD['Cbc'] = './cbc -unitTest -dirMiplib=_MIPLIB3DIR_ -miplib' 
68
69#----------------------------------------------------------------------
70PROJECT_EMAIL_ADDRS['Ipopt'] = 'andreasw _AT_ us _DOT_ ibm _DOT_ com'
71#third party packages are not optional here
72
73#----------------------------------------------------------------------
74PROJECT_EMAIL_ADDRS['Bonmin'] = 'pbonami _AT_ us _DOT_ ibm _DOT_ com'
75#third party packages are not optional here
76
77#----------------------------------------------------------------------
78PROJECT_EMAIL_ADDRS['FlopC++'] = 'Tim _DOT_ Hultberg _AT_ eumetsat _DOT_ int'
79ALL_TESTS_COMPLETED_SUCCESSFULLY_CMDS['FlopC++'] = ['make test']
80#does not have references to third party packages
81
82#----------------------------------------------------------------------
83PROJECT_EMAIL_ADDRS['OS'] = 'kipp _DOT_ martin _AT_ chicagogsb _DOT_ edu'
84ALL_TESTS_COMPLETED_SUCCESSFULLY_CMDS['OS'] = ['make test']
85#third party packages are not optional if Ipopt is not excluded
86
87#----------------------------------------------------------------------
88PROJECT_EMAIL_ADDRS['CppAD'] = 'bradbell _AT_ washington _DOT_ edu'
89#does not have references to third party packages
90
91#----------------------------------------------------------------------
92PROJECT_EMAIL_ADDRS['Smi'] = 'kingaj _AT_ us _DOT_ ibm _DOT_ com'
93#does not have references to third party packages
94#TODO: need some check whether make test was successful; what is the behaviour in Smi's unittest if it fails?
Note: See TracBrowser for help on using the repository browser.