python3.9: disable unit tests

When building python3.9 the process still getting
stuck on running unit tests process. This change
disable test_builtin and test_openpty that have
been the ones hanging in the latest build runs.

Test Plan:
PASS: Build the package with build-pkgs -c -p python3.9

Partial-Bug: 2009722

Signed-off-by: Dostoievski Batista <dostoievski.albinobatista@windriver.com>
Change-Id: I27a6a01f35345bc5353bf8041a45d5f2a500dded
This commit is contained in:
Dostoievski Batista 2023-03-29 10:38:36 -03:00
parent dcd05bea43
commit 36c011813d
3 changed files with 28 additions and 25 deletions

View File

@ -1,24 +0,0 @@
From 7621f6c41668b1ec8b8c76f834f486ee938cd77c Mon Sep 17 00:00:00 2001
From: Dostoievski Batista <dostoievski.albinobatista@windriver.com>
Date: Fri, 17 Mar 2023 17:55:16 -0300
Subject: [PATCH] Disabling auto test
Signed-off-by: Dostoievski Batista <dostoievski.albinobatista@windriver.com>
---
debian/rules | 3 +++
1 file changed, 3 insertions(+)
diff --git a/debian/rules b/debian/rules
index 1d632f2..0836972 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1539,3 +1539,6 @@ binary: binary-indep binary-arch
# Local Variables:
# mode: makefile
# end:
+
+override_dh_auto_test:
+ dh_auto_test --nocheck
\ No newline at end of file
--
2.25.1

View File

@ -0,0 +1,27 @@
From da2d00927912096fa53ab204c6b6332123288135 Mon Sep 17 00:00:00 2001
From: Dostoievski Batista <dostoievski.albinobatista@windriver.com>
Date: Mon, 3 Apr 2023 08:53:00 -0300
Subject: [PATCH] Disabling test that may cause hanging on building process
Signed-off-by: Dostoievski Batista <dostoievski.albinobatista@windriver.com>
---
debian/rules | 3 +++
1 file changed, 3 insertions(+)
diff --git a/debian/rules b/debian/rules
index 1d632f2..68d71be 100755
--- a/debian/rules
+++ b/debian/rules
@@ -313,6 +313,9 @@ PROFILE_EXCLUDES += \
PROFILE_EXCLUDES += \
test_cmd_line_script test_zipimport_support
+PROFILE_EXCLUDES += \
+ test_builtin test_openpty
+
# TODO: update profiled-build.diff to support --next
# --next=20
PROFILE_TASK = ../Lib/test/regrtest.py \
--
2.25.1

View File

@ -1 +1 @@
0001-Disabling-auto-test.patch
0001-Disabling-specific-test.patch