aboutsummaryrefslogtreecommitdiffstats
path: root/testing/redo/skip-when-tty-missing.patch
diff options
context:
space:
mode:
authorKevin Daudt <kdaudt@alpinelinux.org>2019-03-05 18:37:15 +0000
committerKevin Daudt <kdaudt@alpinelinux.org>2019-04-14 17:05:05 +0000
commit9efbadc1257334cbabc7f5426e2386f3dae18e15 (patch)
tree7fcb843a357af503a636c18abbd77e1e4152c83f /testing/redo/skip-when-tty-missing.patch
parent9c681468f2cf69a190085a7ea2956758093cbf7e (diff)
downloadaports-9efbadc1257334cbabc7f5426e2386f3dae18e15.tar.bz2
aports-9efbadc1257334cbabc7f5426e2386f3dae18e15.tar.xz
testing/redo: fix test relying on tty
One test fails on the builders because it relies on a tty being present. Upstream has fixed this test to not rely on a tty anymore, but this has not been released yet. Apply the commit from upstream as a patch until a new version has been released. The previous patch to fix it does not work, so remove it.
Diffstat (limited to 'testing/redo/skip-when-tty-missing.patch')
-rw-r--r--testing/redo/skip-when-tty-missing.patch20
1 files changed, 0 insertions, 20 deletions
diff --git a/testing/redo/skip-when-tty-missing.patch b/testing/redo/skip-when-tty-missing.patch
deleted file mode 100644
index 8acefbacd9..0000000000
--- a/testing/redo/skip-when-tty-missing.patch
+++ /dev/null
@@ -1,20 +0,0 @@
-diff --git a/redo/builder.py b/redo/builder.py.new
-index e55955f7f9..160cba8dfe 100644
---- a/redo/builder.py
-+++ b/redo/builder.py.new
-@@ -1,5 +1,5 @@
- """Code for parallel-building a set of targets, if needed."""
--import errno, os, stat, signal, sys, tempfile, time
-+import errno, os, os.path, stat, signal, sys, tempfile, time
- from . import cycles, env, jobserver, logs, state, paths
- from .helpers import unlink, close_on_exec
- from .logs import debug2, err, warn, meta
-@@ -99,6 +99,8 @@ def await_log_reader():
- if not env.v.LOG:
- return
- if log_reader_pid > 0:
-+ if not os.path.exists('/dev/tty'):
-+ return
- # never actually close fd#1 or fd#2; insanity awaits.
- # replace it with something else instead.
- # Since our stdout/stderr are attached to redo-log's stdin,