Makefile revision 3778
#
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
# Common Development and Distribution License (the "License").
# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# See the License for the specific language governing permissions
# and limitations under the License.
#
# When distributing Covered Code, include this CDDL HEADER in each
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
# If applicable, add the following below this CDDL HEADER, with the
# fields enclosed by brackets "[]" replaced with your own identifying
# information: Portions Copyright [yyyy] [name of copyright owner]
#
# CDDL HEADER END
#
#
#
TPNO= 8268
# Syntax issues: not Python 3 ready.
# rename pytest to its versioned name; mediated links (depending on
# the python version) in the manifest will create the link from pytest
# to the correct pytest-${PYTHON_VERSION}
# compile all of the python .py files in the proto area since setup.py doesn't
# seem to be doing it for this component.
# common targets
build: $(BUILD_NO_ARCH)
# 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 (via PYTHONPATH setting) for testing.
test: PYTHON_VERSION=2.7
# Expected failures for test target:
# 413 test cases, 1 error, 1 failures, 22 skipped
# 21 modules OK (2 failed)
# failures: unittest_shellutils [1/23], unittest_date [1/45]
test: $(TEST_NO_ARCH)