Changeset 2401 for pjproject/trunk/tests/cdash
- Timestamp:
- Dec 29, 2008 5:57:13 PM (16 years ago)
- Location:
- pjproject/trunk/tests/cdash
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/tests/cdash
-
Property
svn:ignore
set to
*.pyc
cfg_site.py
out.xml
-
Property
svn:ignore
set to
-
pjproject/trunk/tests/cdash/builder.py
r2399 r2401 1 # 2 # builder.py - PJSIP test scenarios builder 3 # 4 # Copyright (C) 2008-2009 Teluu Inc. (http://www.teluu.com) 5 # 6 # This program is free software; you can redistribute it and/or modify 7 # it under the terms of the GNU General Public License as published by 8 # the Free Software Foundation; either version 2 of the License, or 9 # (at your option) any later version. 10 # 11 # This program is distributed in the hope that it will be useful, 12 # but WITHOUT ANY WARRANTY; without even the implied warranty of 13 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 # GNU General Public License for more details. 15 # 16 # You should have received a copy of the GNU General Public License 17 # along with this program; if not, write to the Free Software 18 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 19 # 20 1 21 import ccdash 2 22 import os … … 194 214 included = False 195 215 for pat in self.exclude: 196 if re.search(pat, fullcmd) != None:216 if pat and re.search(pat, fullcmd) != None: 197 217 excluded = True 198 218 break 199 219 if excluded: 200 220 for pat in self.not_exclude: 201 if re.search(pat, fullcmd) != None:221 if pat and re.search(pat, fullcmd) != None: 202 222 included = True 203 223 break -
pjproject/trunk/tests/cdash/cfg_gnu.py
r2399 r2401 1 # 2 # cfg_gnu.py - GNU target configurator 3 # 4 # Copyright (C) 2008-2009 Teluu Inc. (http://www.teluu.com) 5 # 6 # This program is free software; you can redistribute it and/or modify 7 # it under the terms of the GNU General Public License as published by 8 # the Free Software Foundation; either version 2 of the License, or 9 # (at your option) any later version. 10 # 11 # This program is distributed in the hope that it will be useful, 12 # but WITHOUT ANY WARRANTY; without even the implied warranty of 13 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 # GNU General Public License for more details. 15 # 16 # You should have received a copy of the GNU General Public License 17 # along with this program; if not, write to the Free Software 18 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 19 # 1 20 import builder 2 21 import os … … 14 33 15 34 if os.access(file+".py", os.F_OK) == False: 16 17 35 print "Error: file '%s.py' doesn't exist." % (file) 36 sys.exit(1) 18 37 19 38 cfg_site = __import__(file) -
pjproject/trunk/tests/cdash/cfg_site_sample.py
r2400 r2401 1 # 2 # cfg_site_sample.py - Sample site configuration 3 # 4 # Copyright (C) 2008-2009 Teluu Inc. (http://www.teluu.com) 5 # 6 # This program is free software; you can redistribute it and/or modify 7 # it under the terms of the GNU General Public License as published by 8 # the Free Software Foundation; either version 2 of the License, or 9 # (at your option) any later version. 10 # 11 # This program is distributed in the hope that it will be useful, 12 # but WITHOUT ANY WARRANTY; without even the implied warranty of 13 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 # GNU General Public License for more details. 15 # 16 # You should have received a copy of the GNU General Public License 17 # along with this program; if not, write to the Free Software 18 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 19 # 1 20 import builder 2 21 -
pjproject/trunk/tests/cdash/main.py
r2399 r2401 1 #!/bin/env python 2 3 # 4 # main.py - main entry for PJSIP's CDash tests 5 # 6 # Copyright (C) 2008-2009 Teluu Inc. (http://www.teluu.com) 7 # 8 # This program is free software; you can redistribute it and/or modify 9 # it under the terms of the GNU General Public License as published by 10 # the Free Software Foundation; either version 2 of the License, or 11 # (at your option) any later version. 12 # 13 # This program is distributed in the hope that it will be useful, 14 # but WITHOUT ANY WARRANTY; without even the implied warranty of 15 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 # GNU General Public License for more details. 17 # 18 # You should have received a copy of the GNU General Public License 19 # along with this program; if not, write to the Free Software 20 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 21 # 22 1 23 import sys 2 24
Note: See TracChangeset
for help on using the changeset viewer.