Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ProgressBar test case failure #2731

Open
eHammarstrom opened this issue Sep 7, 2023 · 0 comments
Open

ProgressBar test case failure #2731

eHammarstrom opened this issue Sep 7, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@eHammarstrom
Copy link

eHammarstrom commented Sep 7, 2023

declare -x COLORTERM="truecolor"
declare -x GDM_LANG="en_US.UTF-8"
declare -x LANG="en_US.UTF-8"
declare -x TERM="xterm-256color"
declare -x TERM_PROGRAM="tmux"
declare -x TERM_PROGRAM_VERSION="3.3a"
  • compiled from v3.0.9 tag
  • alacritty 0.9.0 + tmux 3.3a

./notcurses-tester ../data/ --abort-after=1 --tc=ProgressBar

/home/estrom/zig/notcurses/src/tests/progbar.cpp:104:
TEST CASE:  ProgressBar
  FullVert

/home/estrom/zig/notcurses/src/tests/progbar.cpp:268: ERROR: CHECK( 0 == pbar_fill(nc_, ncp) ) is NOT correct!
  values: CHECK( 0 == -1 )

===============================================================================
/home/estrom/zig/notcurses/src/tests/progbar.cpp:104:
TEST CASE:  ProgressBar

DEEPEST SUBCASE STACK REACHED (DIFFERENT FROM THE CURRENT ONE):
  FullVert

Aborting - too many failed asserts!
===============================================================================
[doctest] test cases:       28 |       27 passed | 1 failed | 18 skipped
[doctest] assertions: 10646710 | 10646709 passed | 1 failed |
[doctest] Status: FAILURE!

pool_blit_direct returns -1 in progbar_redraw because of the following params,

progbar_redraw:135:pool = 0x564f17c2fa08
progbar_redraw:136:c = 0x564f17ca0f80
progbar_redraw:137:gcluster =
progbar_redraw:138:bytes = 0
progbar_redraw:139:cols = 1

I also see this print Couldn't open /usr/local/share/notcurses/changes.jpg. Supply directory with -p. which is not surprising because I have not installed notcurses yet, only done the build & test steps.

@eHammarstrom eHammarstrom added the bug Something isn't working label Sep 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant