35 TPNO= 13152 |
35 TPNO= 13152 |
36 |
36 |
37 # The argparse module was integrated into Python 2.7, so we should only deliver |
37 # The argparse module was integrated into Python 2.7, so we should only deliver |
38 # a 2.6 module. |
38 # a 2.6 module. |
39 PYTHON_VERSIONS = 2.6 |
39 PYTHON_VERSIONS = 2.6 |
|
40 PYTHON_VERSION = 2.6 |
40 |
41 |
41 include $(WS_MAKE_RULES)/prep.mk |
42 include $(WS_MAKE_RULES)/prep.mk |
42 include $(WS_MAKE_RULES)/setup.py.mk |
43 include $(WS_MAKE_RULES)/setup.py.mk |
43 include $(WS_MAKE_RULES)/ips.mk |
44 include $(WS_MAKE_RULES)/ips.mk |
44 |
45 |
45 COMPONENT_TEST_DIR = $(COMPONENT_SRC)/test |
46 COMPONENT_TEST_DIR = $(COMPONENT_SRC)/test |
46 COMPONENT_TEST_ARGS = test_argparse.py |
47 COMPONENT_TEST_ARGS = test_argparse.py |
47 |
48 |
|
49 COMPONENT_SYSTEM_TEST_ENV = |
|
50 COMPONENT_SYSTEM_TEST_CMD= $(PYTHON.2.6) |
|
51 COMPONENT_SYSTEM_TEST_ARGS = test_argparse.py |
|
52 |
48 # The additional argparse specific set of transforms to be applied to the test |
53 # The additional argparse specific set of transforms to be applied to the test |
49 # results to try to normalize them. |
54 # results to try to normalize them. |
50 COMPONENT_TEST_TRANSFORMS += \ |
55 COMPONENT_TEST_TRANSFORMS += \ |
51 '-e "s|\(Ran 1524 tests in\).*|\1|" ' |
56 '-e "s|\(Ran 1524 tests in\).*|\1|" ' |
52 |
57 |
53 ASLR_MODE = $(ASLR_NOT_APPLICABLE) |
58 ASLR_MODE = $(ASLR_NOT_APPLICABLE) |
54 |
59 |
55 # common targets |
|
56 build: $(BUILD_NO_ARCH) |
60 build: $(BUILD_NO_ARCH) |
57 |
61 |
58 install: $(INSTALL_NO_ARCH) |
62 install: $(INSTALL_NO_ARCH) |
59 |
63 |
60 test: $(TEST_NO_ARCH) |
64 test: $(TEST_NO_ARCH) |
61 |
65 |
62 system-test: $(SYSTEM_TESTS_NOT_IMPLEMENTED) |
66 system-test: $(SYSTEM_TEST_NO_ARCH) |
63 |
|