public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/proj/guru:master commit in: dev-lang/quickjs/, dev-lang/quickjs/files/
@ 2021-04-30  7:45 Andrew Ammerlaan
  0 siblings, 0 replies; only message in thread
From: Andrew Ammerlaan @ 2021-04-30  7:45 UTC (permalink / raw
  To: gentoo-commits

commit:     cb92f649888c05df354386c9593e695bb4bb5141
Author:     Ronny (tastytea) Gutbrod <gentoo <AT> tastytea <DOT> de>
AuthorDate: Thu Apr 29 22:09:16 2021 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Thu Apr 29 22:09:16 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=cb92f649

dev-lang/quickjs: Remove TTY check in test.

Closes: https://bugs.gentoo.org/783987
Signed-off-by: Ronny (tastytea) Gutbrod <gentoo <AT> tastytea.de>

 ...ickjs-2020.11.08_Remove-TTY-check-in-test.patch | 25 ++++++++++++++++++++++
 dev-lang/quickjs/quickjs-2020.11.08.ebuild         |  2 ++
 2 files changed, 27 insertions(+)

diff --git a/dev-lang/quickjs/files/quickjs-2020.11.08_Remove-TTY-check-in-test.patch b/dev-lang/quickjs/files/quickjs-2020.11.08_Remove-TTY-check-in-test.patch
new file mode 100644
index 000000000..bf7957d3e
--- /dev/null
+++ b/dev-lang/quickjs/files/quickjs-2020.11.08_Remove-TTY-check-in-test.patch
@@ -0,0 +1,25 @@
+From aa3c213319f6df61f727a604798e8c120b7c37f4 Mon Sep 17 00:00:00 2001
+From: tastytea <tastytea@tastytea.de>
+Date: Fri, 30 Apr 2021 00:03:42 +0200
+Subject: [PATCH] Remove TTY check in test.
+
+---
+ tests/test_std.js | 2 --
+ 1 file changed, 2 deletions(-)
+
+diff --git a/tests/test_std.js b/tests/test_std.js
+index 3ea6e34..a12cb81 100644
+--- a/tests/test_std.js
++++ b/tests/test_std.js
+@@ -143,8 +143,6 @@ function test_os()
+ {
+     var fd, fpath, fname, fdir, buf, buf2, i, files, err, fdate, st, link_path;
+ 
+-    assert(os.isatty(0));
+-
+     fdir = "test_tmp_dir";
+     fname = "tmp_file.txt";
+     fpath = fdir + "/" + fname;
+-- 
+2.26.3
+

diff --git a/dev-lang/quickjs/quickjs-2020.11.08.ebuild b/dev-lang/quickjs/quickjs-2020.11.08.ebuild
index 1a296d589..c787f5c8a 100644
--- a/dev-lang/quickjs/quickjs-2020.11.08.ebuild
+++ b/dev-lang/quickjs/quickjs-2020.11.08.ebuild
@@ -15,6 +15,8 @@ LICENSE="MIT"
 SLOT="0"
 KEYWORDS="~amd64"
 
+PATCHES=( "${FILESDIR}/${PN}-2020.11.08_Remove-TTY-check-in-test.patch" )
+
 src_prepare() {
 	sed -i \
 		-e 's;prefix=/usr/local;prefix=/usr;' \


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2021-04-30  7:45 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-04-30  7:45 [gentoo-commits] repo/proj/guru:master commit in: dev-lang/quickjs/, dev-lang/quickjs/files/ Andrew Ammerlaan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox