diff --git a/python/python3.9/debian/deb_patches/0001-Disabling-specific-test.patch b/python/python3.9/debian/deb_patches/0001-Disabling-specific-test.patch deleted file mode 100644 index 7772addf8..000000000 --- a/python/python3.9/debian/deb_patches/0001-Disabling-specific-test.patch +++ /dev/null @@ -1,27 +0,0 @@ -From da2d00927912096fa53ab204c6b6332123288135 Mon Sep 17 00:00:00 2001 -From: Dostoievski Batista -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 ---- - 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 - diff --git a/python/python3.9/debian/deb_patches/0001-adding-timeout-regrtest.patch b/python/python3.9/debian/deb_patches/0001-adding-timeout-regrtest.patch new file mode 100644 index 000000000..3e4c7fe93 --- /dev/null +++ b/python/python3.9/debian/deb_patches/0001-adding-timeout-regrtest.patch @@ -0,0 +1,24 @@ +From b8d2158ba83561554bbc88bcdeb7de16eb776371 Mon Sep 17 00:00:00 2001 +From: Dostoievski Batista +Date: Mon, 10 Apr 2023 16:31:49 -0300 +Subject: [PATCH] Adding timeout for regrtest.py +Signed-off-by: Dostoievski Batista +--- + 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 \ No newline at end of file diff --git a/python/python3.9/debian/deb_patches/series b/python/python3.9/debian/deb_patches/series index e7a810cb3..7c351e4d5 100644 --- a/python/python3.9/debian/deb_patches/series +++ b/python/python3.9/debian/deb_patches/series @@ -1 +1 @@ -0001-Disabling-specific-test.patch \ No newline at end of file +0001-adding-timeout-regrtest.patch \ No newline at end of file