Merge "python3.9: Add timeout regrtest"
This commit is contained in:
commit
fbe2673c54
@ -1,27 +0,0 @@
|
||||
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
|
||||
|
@ -0,0 +1,24 @@
|
||||
From b8d2158ba83561554bbc88bcdeb7de16eb776371 Mon Sep 17 00:00:00 2001
|
||||
From: Dostoievski Batista <dostoievski.albinobatista@windriver.com>
|
||||
Date: Mon, 10 Apr 2023 16:31:49 -0300
|
||||
Subject: [PATCH] Adding timeout for regrtest.py
|
||||
Signed-off-by: Dostoievski Batista <dostoievski.albinobatista@windriver.com>
|
||||
---
|
||||
debian/rules | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/debian/rules b/debian/rules
|
||||
index 1d632f2..1bb7f39 100755
|
||||
--- a/debian/rules
|
||||
+++ b/debian/rules
|
||||
@@ -316,7 +316,7 @@ PROFILE_EXCLUDES += \
|
||||
# TODO: update profiled-build.diff to support --next
|
||||
# --next=20
|
||||
PROFILE_TASK = ../Lib/test/regrtest.py \
|
||||
- -s \
|
||||
+ -s --timeout 240 \
|
||||
-j 1 -unone,decimal \
|
||||
-x $(sort $(TEST_EXCLUDES) $(PROFILE_EXCLUDES))
|
||||
|
||||
--
|
||||
2.25.1
|
@ -1 +1 @@
|
||||
0001-Disabling-specific-test.patch
|
||||
0001-adding-timeout-regrtest.patch
|
Loading…
Reference in New Issue
Block a user