Skip to content

Commit

Permalink
app-admin/lnav: disable another failing test
Browse files Browse the repository at this point in the history
  • Loading branch information
radhermit committed Mar 19, 2018
1 parent b96cc74 commit 235c40a
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 8 deletions.
32 changes: 32 additions & 0 deletions app-admin/lnav/files/lnav-0.8.3-disable-tests.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
Disable failing tests for bug #630916.

--- lnav-0.8.3/test/Makefile.am
+++ lnav-0.8.3/test/Makefile.am
@@ -374,7 +374,6 @@
test_concise \
test_line_buffer2 \
test_line_buffer.sh \
- test_listview.sh \
test_grep_proc.sh \
test_grep_proc2 \
test_hist_source \
@@ -388,18 +387,15 @@
test_scripts.sh \
test_sessions.sh \
test_shlexer.sh \
- test_sql.sh \
test_sql_coll_func.sh \
test_sql_json_func.sh \
test_sql_fs_func.sh \
test_sql_str_func.sh \
test_sql_time_func.sh \
- test_view_colors.sh \
test_vt52_curses.sh \
test_top_status \
test_data_parser.sh \
- test_yajlpp \
- test_pretty_print.sh
+ test_yajlpp

if HAVE_LIBCURL
TESTS += \
9 changes: 1 addition & 8 deletions app-admin/lnav/lnav-0.8.3.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -25,17 +25,10 @@ RDEPEND="
DEPEND="${RDEPEND}"

DOCS=( AUTHORS NEWS README )
PATCHES=( "${FILESDIR}"/${P}-disable-tests.patch )

src_prepare() {
default

# skip failing tests
sed -i \
-e '/test_listview\.sh/d' \
-e '/test_view_colors\.sh/d' \
-e '/test_sql\.sh/d' \
test/Makefile.am || die

eautoreconf
}

Expand Down

0 comments on commit 235c40a

Please sign in to comment.