Makefile revision 3661
6a82dfd37385024d0e94e71edd2f46b609796cfdwrowe# CDDL HEADER START
a250599aab6669d5877edf158032efd2538e5820trawick# The contents of this file are subject to the terms of the
a250599aab6669d5877edf158032efd2538e5820trawick# Common Development and Distribution License (the "License").
a250599aab6669d5877edf158032efd2538e5820trawick# You may not use this file except in compliance with the License.
41338e6ead3fa8d60ad3841d069f4b47e71d9177wrowe# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
41338e6ead3fa8d60ad3841d069f4b47e71d9177wrowe# See the License for the specific language governing permissions
92b0ffb9cbc04b3d9c7ce6becadc0c3d88dea2d9wrowe# and limitations under the License.
92b0ffb9cbc04b3d9c7ce6becadc0c3d88dea2d9wrowe# When distributing Covered Code, include this CDDL HEADER in each
961ff00a8f1fe79a8ac8b18617b40a404e28cb35brianp# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
961ff00a8f1fe79a8ac8b18617b40a404e28cb35brianp# If applicable, add the following below this CDDL HEADER, with the
961ff00a8f1fe79a8ac8b18617b40a404e28cb35brianp# fields enclosed by brackets "[]" replaced with your own identifying
92b0ffb9cbc04b3d9c7ce6becadc0c3d88dea2d9wrowe# information: Portions Copyright [yyyy] [name of copyright owner]
6a82dfd37385024d0e94e71edd2f46b609796cfdwrowe# CDDL HEADER END
6a82dfd37385024d0e94e71edd2f46b609796cfdwrowe# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
854cc4d3451547c2359c27870a3c354ad385a49bianhCOMPONENT_PROJECT_URL= http://www.logilab.org/project/logilab-common/
02ec77ed8e15b4b601de98a322e4bd8d7d3e1ec2trawick sha256:c92db7d6bbac880969a439027a8239827a02a90815dbfba6bd4c031d85f4cd61
02ec77ed8e15b4b601de98a322e4bd8d7d3e1ec2trawickCOMPONENT_ARCHIVE_URL= http://download.logilab.org/pub/common/$(COMPONENT_ARCHIVE)
a8dda281113c5038945423320d8c9b42e3d1ddb1jwoolley# rename pytest to its versioned name; mediated links (depending on
a8dda281113c5038945423320d8c9b42e3d1ddb1jwoolley# the python version) in the manifest will create the link from pytest
a8dda281113c5038945423320d8c9b42e3d1ddb1jwoolley# to the correct pytest-${PYTHON_VERSION}
37b8494ffaeb4ee9a9a2f9917d334078c16d4212jwoolley# compile all of the python .py files in the proto area since setup.py doesn't
37b8494ffaeb4ee9a9a2f9917d334078c16d4212jwoolley# seem to be doing it for this component.
bf3d1782a29630335a1df535eb395355ab1cd154jwoolley (cd $(PROTO_DIR)/usr/bin ; $(MV) -f pytest pytest-$(PYTHON_VERSION)) ; \
37b8494ffaeb4ee9a9a2f9917d334078c16d4212jwoolley ($(PYTHON) -m compileall $(PROTO_DIR)$(PYTHON_VENDOR_PACKAGES))
99f692732327e0c200fd639105dbf9940bd229f1rbb# common targets
80f73246cc14f02d50bfac5306c079464c2dd1c6rbb# The tests are run using python 2.7 only and require that the
80f73246cc14f02d50bfac5306c079464c2dd1c6rbb# python-27 package is installed (does not have to be the default python).
dcdc78fce34f06533df4829abbc726f7fbf207fejwoolley# Testing using python-26 is done manually, since it requires
dcdc78fce34f06533df4829abbc726f7fbf207fejwoolley# downloading and installing the unittest2 component (not part of Solaris).
dcdc78fce34f06533df4829abbc726f7fbf207fejwoolley# which provides python 2.7 functionality to the unittest python library
d4a93d608a28bf331625544a2896fa20bef4a2b4rbb# in the python2.6 package.
d4a93d608a28bf331625544a2896fa20bef4a2b4rbb# Use the python 2.7 libraries (via PYTHONPATH setting) for testing.
4b34d6a5b70303010612df6c87da3ee91ae86078rbb# Expected failures for test target:
4b34d6a5b70303010612df6c87da3ee91ae86078rbb# 413 test cases, 1 error, 1 failures, 22 skipped
4b34d6a5b70303010612df6c87da3ee91ae86078rbb# 21 modules OK (2 failed)
4b34d6a5b70303010612df6c87da3ee91ae86078rbb# failures: unittest_shellutils [1/23], unittest_date [1/45]