Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 914914 - sys-apps/bat-0.23.0-r1 fails test - test long_help FAILED
Summary: sys-apps/bat-0.23.0-r1 fails test - test long_help FAILED
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords: PullRequest, TESTFAILURE
Depends on:
Blocks:
 
Reported: 2023-09-29 15:03 UTC by Toralf Förster
Modified: 2024-02-15 13:56 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,17.51 KB, text/plain)
2023-09-29 15:03 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,72.77 KB, text/plain)
2023-09-29 15:03 UTC, Toralf Förster
Details
environment (environment,119.24 KB, text/plain)
2023-09-29 15:03 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.05 KB, application/x-xz)
2023-09-29 15:03 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,25.05 KB, application/x-xz)
2023-09-29 15:03 UTC, Toralf Förster
Details
logs.tar.xz (logs.tar.xz,3.55 KB, application/x-xz)
2023-09-29 15:03 UTC, Toralf Förster
Details
sys-apps:bat-0.23.0-r1:20230929-064722.log.xz (sys-apps:bat-0.23.0-r1:20230929-064722.log.xz,18.52 KB, application/x-xz)
2023-09-29 15:03 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,40.63 KB, application/x-xz)
2023-09-29 15:03 UTC, Toralf Förster
Details
tests.tar.xz (tests.tar.xz,480.92 KB, application/x-xz)
2023-09-29 15:03 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2023-09-29 15:03:17 UTC
test line_range_2_3 ... ok
test line_numbers ... ok
test line_range_multiple ... ok
test line_range_first_two ... ok
test line_range_last_3 ... ok
test line_wrapping_when_auto ... ok
test long_help ... FAILED
test ignored_suffix_arg ... ok
test no_first_line_fallback_when_mapping_to_invalid_syntax ... ok

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_gnome_test-20230927-065005

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-13 *
clang/llvm (if any):
clang version 17.0.1
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/17/bin
Configuration file: /etc/clang/x86_64-pc-linux-gnu-clang.cfg
/usr/lib/llvm/17
17.0.1
Python 3.11.5
Available Ruby profiles:
  [1]   ruby31 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.72.0 *
The following VMs are available for generation-2:
1)	OpenJDK 17.0.8.1_p1 [openjdk-17]
*)	Eclipse Temurin JDK 17.0.8.1_p1 [openjdk-bin-17]
Available Java Virtual Machines:
  [1]   openjdk-17 
  [2]   openjdk-bin-17  system-vm

php cli (if any):
go version go1.21.1 linux/amd64

  HEAD of ::gentoo
commit a5b4e7bc28b7594788ec90631627bdba8123ca4d
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Fri Sep 29 06:16:33 2023 +0000

    2023-09-29 06:16:33 UTC

emerge -qpvO sys-apps/bat
[ebuild  N    ] sys-apps/bat-0.23.0-r1  USE="-debug"
Comment 1 Toralf Förster gentoo-dev 2023-09-29 15:03:19 UTC
Created attachment 871729 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-09-29 15:03:20 UTC
Created attachment 871730 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2023-09-29 15:03:21 UTC
Created attachment 871731 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2023-09-29 15:03:22 UTC
Created attachment 871732 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2023-09-29 15:03:23 UTC
Created attachment 871733 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2023-09-29 15:03:23 UTC
Created attachment 871734 [details]
logs.tar.xz
Comment 7 Toralf Förster gentoo-dev 2023-09-29 15:03:24 UTC
Created attachment 871735 [details]
sys-apps:bat-0.23.0-r1:20230929-064722.log.xz
Comment 8 Toralf Förster gentoo-dev 2023-09-29 15:03:25 UTC
Created attachment 871736 [details]
temp.tar.xz
Comment 9 Toralf Förster gentoo-dev 2023-09-29 15:03:27 UTC
Created attachment 871737 [details]
tests.tar.xz
Comment 10 Larry the Git Cow gentoo-dev 2024-02-15 13:56:19 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a253c8cd69808373fa7ec69b70903fecd73f7e12

commit a253c8cd69808373fa7ec69b70903fecd73f7e12
Author:     Violet Purcell <vimproved@inventati.org>
AuthorDate: 2024-02-14 17:41:37 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-02-15 13:52:59 +0000

    sys-apps/bat: export COLUMNS in src_test for deterministic help output
    
    When the clap crate is built with the wrap_help feature, it will
    automatically detect the current terminal size and wrap help text based
    on that. This breaks bat's tests if your terminal is below a certain
    size. Set the COLUMNS environment variable in src_test to override this.
    
    Closes: https://bugs.gentoo.org/913364
    Closes: https://bugs.gentoo.org/914914
    Signed-off-by: Violet Purcell <vimproved@inventati.org>
    Signed-off-by: Sam James <sam@gentoo.org>

 sys-apps/bat/bat-0.23.0-r1.ebuild | 7 +++++++
 sys-apps/bat/bat-0.24.0.ebuild    | 7 +++++++
 2 files changed, 14 insertions(+)