Ignore:
Timestamp:
Dec 29, 2008 5:57:13 PM (16 years ago)
Author:
bennylp
Message:

Added copyright text in python test files

Location:
pjproject/trunk/tests/cdash
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/tests/cdash

    • Property svn:ignore set to
      *.pyc
      cfg_site.py
      out.xml
  • 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 
    121import ccdash 
    222import os 
     
    194214            included = False 
    195215            for pat in self.exclude: 
    196                 if re.search(pat, fullcmd) != None: 
     216                if pat and re.search(pat, fullcmd) != None: 
    197217                    excluded = True 
    198218                    break 
    199219            if excluded: 
    200220                for pat in self.not_exclude: 
    201                     if re.search(pat, fullcmd) != None: 
     221                    if pat and re.search(pat, fullcmd) != None: 
    202222                        included = True 
    203223                        break 
Note: See TracChangeset for help on using the changeset viewer.