1026N/A# The contents of this file are subject to the terms of the 1026N/A# Common Development and Distribution License (the "License"). 1026N/A# You may not use this file except in compliance with the License. 1026N/A# See the License for the specific language governing permissions 1026N/A# and limitations under the License. 1026N/A# When distributing Covered Code, include this CDDL HEADER in each 1026N/A# If applicable, add the following below this CDDL HEADER, with the 1026N/A# fields enclosed by brackets "[]" replaced with your own identifying 1026N/A# information: Portions Copyright [yyyy] [name of copyright owner] 1026N/A# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved. 1026N/A# Depends on logilab-common which is not Python 3 ready. # There are several pylint documentation files that setup.py isn't installing # but are present in the pylint package on other distributions. Copy them into # the proto area "manually", so they can be included in the package. # The tests are run using python 2.7 only and require that # the python-27 package is installed (does not have to be the default python). # Testing using python-26 is done manually, since it requires # downloading and installing the unittest2 component (not part of Solaris), # which provides python 2.7 functionality to the unittest python library # in the python2.6 package. # Use the python 2.7 libraries for testing. # logilab-common and logilab-astng are runtime dependencies of pylint, # and we need to use their latest versions from this workspace. # We can't just add their install targets as dependencies here, # so just "gmake install" in the logilab-common and logilab-astng # component directories before running the pylint tests. # Run pytest-2.7 from logilab-common's proto area for now, until the # new version of logilab-common containing pytest is in CBE. # Then we can change it to /usr/bin/pytest-$(PYTHON_VERSION). # Expected failures for test target: # 799 test cases, 4 errors, 6 failures, 4 skipped # 9 modules OK (2 failed) # failures: smoketest [7/14], unittest_lint [3/21]