I am compiling python from source tar. Everything works well, but the tests work 2 hours and two times. How to get around these tests?
0:16:20 [178/405] test_inspect 0:16:26 [179/405] test_int 0:16:27 [180/405] test_int_literal 0:16:27 [181/405] test_io 0:18:18 [182/405] test_ioctl -- test_io passed in 1 min 51 sec 0:18:19 [183/405] test_ipaddress 0:18:22 [184/405] test_isinstance 0:18:23 [185/405] test_iter 0:18:24 [186/405] test_iterlen 0:18:25 [187/405] test_itertools 0:19:09 [188/405] test_json -- test_itertools passed in 44 sec 0:19:30 [189/405] test_keyword
As a result
make 7724,86s user 188,63s system 101% cpu 2:10:18,93 total
I do its distribution as follows
PYTHON_VERSION = 3.6.1 PYTHON_URL = https://www.python.org/ftp/python/${PYTHON_VERSION}/Python-${PYTHON_VERSION}.tar.xz wget -O dl/Python-${PYTHON_VERSION}.tar.xz ${PYTHON_URL} cd dl tar xf Python-${PYTHON_VERSION}.tar.xz mkdir -p dl/Python-${PYTHON_VERSION}-build/ cd Python-${PYTHON_VERSION} ./configure --enable-optimizations --prefix=$$(pwd)-build --cache-file=$$(pwd)/cache-file
These commands run tests twice:
make -C dl/Python-${PYTHON_VERSION} -j8 make -C dl/Python-${PYTHON_VERSION} -j8 install
ps This is part of another make file.
source share