components/logilab-astng/Makefile
branchs11u3-sru
changeset 7811 9126e6f58cd8
parent 3996 20c0f21bbe1e
equal deleted inserted replaced
7792:ee802f9b5132 7811:9126e6f58cd8
    37 
    37 
    38 TPNO=			8267
    38 TPNO=			8267
    39 
    39 
    40 # logilab-astng depends on logilab-common, which is not Python 3 ready, so mark
    40 # logilab-astng depends on logilab-common, which is not Python 3 ready, so mark
    41 # this likewise.
    41 # this likewise.
    42 PYTHON_VERSIONS=	2.7 2.6
    42 PYTHON_VERSIONS=	$(PYTHON2_VERSIONS)
    43 
    43 
    44 include $(WS_MAKE_RULES)/prep.mk
    44 include $(WS_MAKE_RULES)/prep.mk
    45 include $(WS_MAKE_RULES)/ips.mk
    45 include $(WS_MAKE_RULES)/ips.mk
    46 include $(WS_MAKE_RULES)/setup.py.mk
    46 include $(WS_MAKE_RULES)/setup.py.mk
    47 
    47 
    48 # common targets
    48 # common targets
    49 
    49 
    50 build:		$(BUILD_NO_ARCH)
    50 build:		$(BUILD_NO_ARCH)
    51 
    51 
    52 install:	$(INSTALL_NO_ARCH)
    52 install:	$(INSTALL_NO_ARCH)
    53 
       
    54 # The tests are run using python 2.7 only and require that
       
    55 # the python-27 package is installed (does not have to be the default python). 
       
    56 # Testing using python-26 is done manually, since it requires
       
    57 # downloading and installing the unittest2 component (not part of Solaris).
       
    58 # which provides python 2.7 functionality to the unittest python library
       
    59 # in the python2.6 package.
       
    60 
    53 
    61 # Use the python 2.7 libraries for testing.
    54 # Use the python 2.7 libraries for testing.
    62 test: PYTHON_VERSION=2.7
    55 test: PYTHON_VERSION=2.7
    63 
    56 
    64 # logilab-common is a runtime dependency of logilab-astng,
    57 # logilab-common is a runtime dependency of logilab-astng,
    87 # 6 modules OK (3 failed)
    80 # 6 modules OK (3 failed)
    88 # failures: unittest_builder [2/55], unittest_lookup [1/21], 
    81 # failures: unittest_builder [2/55], unittest_lookup [1/21], 
    89 # unittest_inference [1/75]
    82 # unittest_inference [1/75]
    90 
    83 
    91 test:		$(TEST_NO_ARCH)
    84 test:		$(TEST_NO_ARCH)
    92 
       
    93