apt source python2.7-minimal
#cd $(buildd_shared) && time xvfb-run -a -e xvfb-run.log ./run_tests;
并且注释
#cp -p $(buildd_static)/test_results debian/
以及将
cp -p debian/test_results $(buildd_static)/pybench.log \
修改为
cp -p $(buildd_static)/pybench.log \
因为跳过test之后,就没有test_results文件,因此需要加以修改,不然打包出错
原文:https://blog.51cto.com/liuanhf/2510031