source: branches/testScripts/NBprojectConfig.py @ 660

Last change on this file since 660 was 660, checked in by stefan, 12 years ago

add missing .copy() and allow to skip 3rd party for symphony

  • Property svn:executable set to *
File size: 5.5 KB
Line 
1#! /usr/bin/env python
2
3import os
4import NBuserConfig
5
6#----------------------------------------------------------------------
7# This file defines variables which describe how the specific
8# coin-or projects are to be build and tested.
9#----------------------------------------------------------------------
10
11#----------------------------------------------------------------------
12PROJECT_EMAIL_ADDRS = {}
13PROJECT_CONFIG_LINES = {}
14UNITTEST_DIR = {}
15UNITTEST_CMD = {}
16ALL_TESTS_COMPLETED_SUCCESSFULLY_CMDS = {} 
17SKIP3RDPARTY_CONFIG_LINE = 'COIN_SKIP_PROJECTS="ThirdParty/ASL ThirdParty/Blas ThirdParty/Glpk ThirdParty/HSL ThirdParty/Lapack ThirdParty/Mumps"'
18STANDARD_CONFIG_LINES = {}
19SKIP3RDPARTY_CONFIG_LINES = {}
20
21for buildType in NBuserConfig.BUILD_TYPES :
22        if "Debug" in buildType :
23                key = 'Debug'
24                val = '--enable-debug'
25        else :
26                key = 'Default'
27                val = ''
28
29        if "ThirdParty" in buildType :
30                STANDARD_CONFIG_LINES[key] = val
31        else :
32                #key += "-no3rdParty"
33                key += "-NoThirdParty"
34                #val += ' '+SKIP3RDPARTY_CONFIG_LINE
35                #SKIP3RDPARTY_CONFIG_LINES[key] = val
36                STANDARD_CONFIG_LINES[key] = val
37
38#----------------------------------------------------------------------
39PROJECT_EMAIL_ADDRS['CoinUtils'] = 'ladanyi _AT_ us _DOT_ ibm _DOT_ com'
40ALL_TESTS_COMPLETED_SUCCESSFULLY_CMDS['CoinUtils'] = ['make test']
41PROJECT_CONFIG_LINES['CoinUtils'] = STANDARD_CONFIG_LINES.copy()
42#does not have references to third party packages
43
44#----------------------------------------------------------------------
45PROJECT_EMAIL_ADDRS['DyLP'] = 'lou _AT_ cs _DOT_ sfu _DOT_ ca'
46UNITTEST_DIR['DyLP'] = os.path.join('Osi','test')
47UNITTEST_CMD['DyLP'] = './unitTest -testOsiSolverInterface -netlibDir=_NETLIBDIR_ -cerr2cout' 
48ALL_TESTS_COMPLETED_SUCCESSFULLY_CMDS['DyLP'] = ['make test']
49PROJECT_CONFIG_LINES['DyLP'] = STANDARD_CONFIG_LINES.copy()
50#does not have references to third party packages
51
52#----------------------------------------------------------------------
53PROJECT_EMAIL_ADDRS['Clp'] = 'jjforre _AT_ us _DOT_ ibm _DOT_ com'
54UNITTEST_DIR['Clp'] = os.path.join('Clp','src')
55UNITTEST_CMD['Clp'] = './clp -unitTest dirNetlib=_NETLIBDIR_ -netlib' 
56ALL_TESTS_COMPLETED_SUCCESSFULLY_CMDS['Clp'] = ['make test',UNITTEST_CMD['Clp']]
57PROJECT_CONFIG_LINES['Clp'] = STANDARD_CONFIG_LINES.copy()
58PROJECT_CONFIG_LINES['Clp'].update(SKIP3RDPARTY_CONFIG_LINES)
59
60#----------------------------------------------------------------------
61PROJECT_EMAIL_ADDRS['SYMPHONY'] = 'tkr2 _AT_ lehigh _DOT_ edu'
62ALL_TESTS_COMPLETED_SUCCESSFULLY_CMDS['SYMPHONY'] = ['make test']
63PROJECT_CONFIG_LINES['SYMPHONY'] = STANDARD_CONFIG_LINES.copy()
64PROJECT_CONFIG_LINES['SYMPHONY'].update(SKIP3RDPARTY_CONFIG_LINES)
65
66#----------------------------------------------------------------------
67PROJECT_EMAIL_ADDRS['Vol'] = 'barahon _AT_ us _DOT_ ibm _DOT_ com'
68PROJECT_CONFIG_LINES['Vol'] = STANDARD_CONFIG_LINES.copy()
69#does not have references to third party packages
70
71#----------------------------------------------------------------------
72PROJECT_EMAIL_ADDRS['Osi'] = 'mjs _AT_ ces _DOT_ clemson _DOT_ edu'
73UNITTEST_DIR['Osi'] = os.path.join('Osi','test')
74UNITTEST_CMD['Osi'] = './unitTest -testOsiSolverInterface -netlibDir=_NETLIBDIR_ -cerr2cout' 
75ALL_TESTS_COMPLETED_SUCCESSFULLY_CMDS['Osi'] = ['make test',UNITTEST_CMD['Osi']]
76PROJECT_CONFIG_LINES['Osi'] = STANDARD_CONFIG_LINES.copy()
77PROJECT_CONFIG_LINES['Osi'].update(SKIP3RDPARTY_CONFIG_LINES)
78
79#----------------------------------------------------------------------
80PROJECT_EMAIL_ADDRS['Cgl'] = 'robinlh _AT_ us _DOT_ ibm _DOT_ com'
81ALL_TESTS_COMPLETED_SUCCESSFULLY_CMDS['Cgl'] = ['make test']
82PROJECT_CONFIG_LINES['Cgl'] = STANDARD_CONFIG_LINES.copy()
83#does not have references to third party packages
84
85#----------------------------------------------------------------------
86PROJECT_EMAIL_ADDRS['Cbc'] = 'jjforre _AT_ us _DOT_ ibm _DOT_ com'
87UNITTEST_DIR['Cbc'] = os.path.join('Cbc','src')
88UNITTEST_CMD['Cbc'] = './cbc -unitTest -dirMiplib=_MIPLIB3DIR_ -miplib' 
89PROJECT_CONFIG_LINES['Cbc'] = STANDARD_CONFIG_LINES.copy()
90PROJECT_CONFIG_LINES['Cbc'].update(SKIP3RDPARTY_CONFIG_LINES)
91PROJECT_CONFIG_LINES['Cbc']['Parallel']='--enable-cbc-parallel'
92
93#----------------------------------------------------------------------
94PROJECT_EMAIL_ADDRS['Ipopt'] = 'andreasw _AT_ us _DOT_ ibm _DOT_ com'
95PROJECT_CONFIG_LINES['Ipopt'] = STANDARD_CONFIG_LINES.copy()
96#third party packages are not optional here
97
98#----------------------------------------------------------------------
99PROJECT_EMAIL_ADDRS['Bonmin'] = 'pbonami _AT_ us _DOT_ ibm _DOT_ com'
100PROJECT_CONFIG_LINES['Bonmin'] = STANDARD_CONFIG_LINES.copy()
101#third party packages are not optional here
102
103#----------------------------------------------------------------------
104PROJECT_EMAIL_ADDRS['FlopC++'] = 'Tim _DOT_ Hultberg _AT_ eumetsat _DOT_ int'
105ALL_TESTS_COMPLETED_SUCCESSFULLY_CMDS['FlopC++'] = ['make test']
106PROJECT_CONFIG_LINES['FlopC++'] = STANDARD_CONFIG_LINES.copy()
107#does not have references to third party packages
108
109#----------------------------------------------------------------------
110PROJECT_EMAIL_ADDRS['OS'] = 'kipp _DOT_ martin _AT_ chicagogsb _DOT_ edu'
111ALL_TESTS_COMPLETED_SUCCESSFULLY_CMDS['OS'] = ['make test']
112PROJECT_CONFIG_LINES['OS'] = STANDARD_CONFIG_LINES.copy()
113#third party packages are not optional here (because it uses Ipopt)
114
115#----------------------------------------------------------------------
116PROJECT_EMAIL_ADDRS['CppAD'] = 'bradbell _AT_ washington _DOT_ edu'
117PROJECT_CONFIG_LINES['CppAD'] = STANDARD_CONFIG_LINES.copy()
118#does not have references to third party packages
Note: See TracBrowser for help on using the repository browser.