diff --git a/python/python3.9/debian/deb_patches/0001-Disabling-auto-test.patch b/python/python3.9/debian/deb_patches/0001-Disabling-auto-test.patch deleted file mode 100644 index cc2cbd309..000000000 --- a/python/python3.9/debian/deb_patches/0001-Disabling-auto-test.patch +++ /dev/null @@ -1,24 +0,0 @@ -From 7621f6c41668b1ec8b8c76f834f486ee938cd77c Mon Sep 17 00:00:00 2001 -From: Dostoievski Batista -Date: Fri, 17 Mar 2023 17:55:16 -0300 -Subject: [PATCH] Disabling auto test - -Signed-off-by: Dostoievski Batista ---- - 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 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 new file mode 100644 index 000000000..7772addf8 --- /dev/null +++ b/python/python3.9/debian/deb_patches/0001-Disabling-specific-test.patch @@ -0,0 +1,27 @@ +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/series b/python/python3.9/debian/deb_patches/series index 98eb37160..e7a810cb3 100644 --- a/python/python3.9/debian/deb_patches/series +++ b/python/python3.9/debian/deb_patches/series @@ -1 +1 @@ -0001-Disabling-auto-test.patch \ No newline at end of file +0001-Disabling-specific-test.patch \ No newline at end of file