sbsv2/raptor/python/plugins/filter_check.py
author lorewang
Wed, 01 Dec 2010 16:05:36 +0800
changeset 715 e0739b8406dd
parent 591 22486c9c7b15
permissions -rw-r--r--
Specify extenal tool with path
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
591
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
     1
#
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
     2
# Copyright (c) 2009-2010 Nokia Corporation and/or its subsidiary(-ies).
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
     3
# All rights reserved.
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
     4
# This component and the accompanying materials are made available
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
     5
# under the terms of the License "Eclipse Public License v1.0"
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
     6
# which accompanies this distribution, and is available
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
     7
# at the URL "http://www.eclipse.org/legal/epl-v10.html".
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
     8
#
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
     9
# Initial Contributors:
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    10
# Nokia Corporation - initial contribution.
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    11
#
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    12
# Contributors:
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    13
#
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    14
# Description: 
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    15
# Filter class for doing --what and --check operations
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    16
#
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    17
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    18
import os
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    19
import sys
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    20
import re
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    21
import filter_interface
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    22
import filter_what
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    23
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    24
class FilterCheck(filter_what.FilterWhat):
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    25
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    26
        def __init__(self): 
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    27
		super(filter_what.FilterWhat,self).__init__()
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    28
		self.check = True
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    29
		self.path_prefix_to_strip = None
22486c9c7b15 raptor v2.14.0
jjkang
parents:
diff changeset
    30