integ/python/python-2.7.5/centos/meta_patches/0002-Disable-unittest-check-phase.patch
Zhe Hu 2c308d90d5 rebase python patch to CentOS 7.6 version
Test:
Pass build and simplex deploy test

Depends-On: https://review.openstack.org/626065

Story: 2004522
Task: 28396

Change-Id: I850651bb4c5ca2e60d4b63434d5f1cfe72d64069
Signed-off-by: Zhe Hu <zhe.hu@intel.com>
2018-12-19 10:36:23 +08:00

26 lines
725 B
Diff

From 2f23c2c6194d828de7bede593926007802cca610 Mon Sep 17 00:00:00 2001
From: Al Bailey <Al.Bailey@windriver.com>
Date: Tue, 6 Mar 2018 18:21:48 -0600
Subject: [PATCH] Disable unittest check phase
---
SPECS/python.spec | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/SPECS/python.spec b/SPECS/python.spec
index a9fd32f..1030c57 100644
--- a/SPECS/python.spec
+++ b/SPECS/python.spec
@@ -62,7 +62,7 @@
%global with_gdbm 1
# Turn this to 0 to turn off the "check" phase:
-%global run_selftest_suite 1
+%global run_selftest_suite 0
# Some of the files below /usr/lib/pythonMAJOR.MINOR/test (e.g. bad_coding.py)
# are deliberately invalid, leading to SyntaxError exceptions if they get
--
1.8.3.1