Gentoo Archives: gentoo-commits

From: Tim Harder <radhermit@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-admin/lnav/, app-admin/lnav/files/
Date: Mon, 19 Mar 2018 20:20:27
Message-Id: 1521490668.235c40abc000341e9d85b152dea65e051d4e2601.radhermit@gentoo
1 commit: 235c40abc000341e9d85b152dea65e051d4e2601
2 Author: Tim Harder <radhermit <AT> gentoo <DOT> org>
3 AuthorDate: Mon Mar 19 20:16:28 2018 +0000
4 Commit: Tim Harder <radhermit <AT> gentoo <DOT> org>
5 CommitDate: Mon Mar 19 20:17:48 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=235c40ab
7
8 app-admin/lnav: disable another failing test
9
10 Closes: https://bugs.gentoo.org/630916
11
12 .../lnav/files/lnav-0.8.3-disable-tests.patch | 32 ++++++++++++++++++++++
13 app-admin/lnav/lnav-0.8.3.ebuild | 9 +-----
14 2 files changed, 33 insertions(+), 8 deletions(-)
15
16 diff --git a/app-admin/lnav/files/lnav-0.8.3-disable-tests.patch b/app-admin/lnav/files/lnav-0.8.3-disable-tests.patch
17 new file mode 100644
18 index 00000000000..1f442afc3fd
19 --- /dev/null
20 +++ b/app-admin/lnav/files/lnav-0.8.3-disable-tests.patch
21 @@ -0,0 +1,32 @@
22 +Disable failing tests for bug #630916.
23 +
24 +--- lnav-0.8.3/test/Makefile.am
25 ++++ lnav-0.8.3/test/Makefile.am
26 +@@ -374,7 +374,6 @@
27 + test_concise \
28 + test_line_buffer2 \
29 + test_line_buffer.sh \
30 +- test_listview.sh \
31 + test_grep_proc.sh \
32 + test_grep_proc2 \
33 + test_hist_source \
34 +@@ -388,18 +387,15 @@
35 + test_scripts.sh \
36 + test_sessions.sh \
37 + test_shlexer.sh \
38 +- test_sql.sh \
39 + test_sql_coll_func.sh \
40 + test_sql_json_func.sh \
41 + test_sql_fs_func.sh \
42 + test_sql_str_func.sh \
43 + test_sql_time_func.sh \
44 +- test_view_colors.sh \
45 + test_vt52_curses.sh \
46 + test_top_status \
47 + test_data_parser.sh \
48 +- test_yajlpp \
49 +- test_pretty_print.sh
50 ++ test_yajlpp
51 +
52 + if HAVE_LIBCURL
53 + TESTS += \
54
55 diff --git a/app-admin/lnav/lnav-0.8.3.ebuild b/app-admin/lnav/lnav-0.8.3.ebuild
56 index 5a47db6dfcb..4cc902a0eb9 100644
57 --- a/app-admin/lnav/lnav-0.8.3.ebuild
58 +++ b/app-admin/lnav/lnav-0.8.3.ebuild
59 @@ -25,17 +25,10 @@ RDEPEND="
60 DEPEND="${RDEPEND}"
61
62 DOCS=( AUTHORS NEWS README )
63 +PATCHES=( "${FILESDIR}"/${P}-disable-tests.patch )
64
65 src_prepare() {
66 default
67 -
68 - # skip failing tests
69 - sed -i \
70 - -e '/test_listview\.sh/d' \
71 - -e '/test_view_colors\.sh/d' \
72 - -e '/test_sql\.sh/d' \
73 - test/Makefile.am || die
74 -
75 eautoreconf
76 }