Skip to content

Instantly share code, notes, and snippets.

@schristy189
Created July 13, 2023 15:38
Show Gist options
  • Save schristy189/938b3b6bd860ac5a417c0b9fc7c2b8fe to your computer and use it in GitHub Desktop.
Save schristy189/938b3b6bd860ac5a417c0b9fc7c2b8fe to your computer and use it in GitHub Desktop.
Nvim Test Results
mkdir -p build
touch build/.ran-deps-cmake
ninja -C .deps
ninja: Entering directory `.deps'
[1/2] Running utility command for luajit
[2/2] cd /home/sam/opensource/neovim/.deps && /usr/bin/cmake -D REMOVE_FILE_GLOB=/home/sam/opensource/neovim/.deps/usr/lib/lib*.so* -P /home/sam/opensource/neovim/cmake.deps/cmake/RemoveFiles.cmake
cmake --build build --target functionaltest
[0/2] Re-checking globbed directories...
[1/18] cd /home/sam/opensource/neovim/build/src/nvim && /usr/bin/cmake -D NVIM_VERSION_MAJOR=0 -D NVIM_VERSION_MINOR=10 -D NVIM_VERSION_PATCH=0 -D NVIM_VERSION_PRERELEASE=-dev -D OUTPUT=/home/sam/opensource/neovim/build/cmake.config/auto/versiondef_git.h -D NVIM_SOURCE_DIR=/home/sam/opensource/neovim -P /home/sam/opensource/neovim/cmake/GenerateVersion.cmake
[1/2] cd /home/sam/opensource/neovim/build/test && /usr/bin/cmake -D NVIM_PRG=/home/sam/opensource/neovim/build/bin/nvim -D WORKING_DIR=/home/sam/opensource/neovim -D BUSTED_OUTPUT_TYPE=nvim -D TEST_DIR=/home/sam/opensource/neovim/test -D BUILD_DIR=/home/sam/opensource/neovim/build -D DEPS_INSTALL_DIR=/home/sam/opensource/neovim/build/usr -D TEST_TYPE=functional -D CIRRUS_CI= -D CI_BUILD=OFF -P /home/sam/opensource/neovim/cmake/RunTests.cmake
-------- Global test environment setup.
-------- Running tests from test/functional/terminal/tui_spec.lua
RUN T1 TUI #foo paste: terminal mode: 3506.40 ms FAIL
test/functional/terminal/tui_spec.lua:899: Row 1 did not match.
Expected:
|*tty ready |
|*{1: } |
|* |
| |
|{5:^^^^^^^ }|
|{3:-- TERMINAL --} |
|{3:-- TERMINAL --} |
Actual:
|*process does not own the terminal |
|* |
|*[Process exited 2]{1: } |
| |
|{5:^^^^^^^ }|
|{3:-- TERMINAL --} |
|{3:-- TERMINAL --} |
To print the expect() call that would assert the current screen state, use
screen:snapshot_util(). In case of non-deterministic failures, use
screen:redraw_debug() to show all intermediate screen states.
stack traceback:
test/functional/ui/screen.lua:622: in function '_wait'
test/functional/ui/screen.lua:352: in function 'expect'
test/functional/terminal/tui_spec.lua:899: in function <test/functional/terminal/tui_spec.lua:892>
-------- 1 test from test/functional/terminal/tui_spec.lua (3558.28 ms total)
-------- Global test environment teardown.
======== 1 test from 1 test file ran. (3559.18 ms total)
PASSED 0 tests.
FAILED 1 test, listed below:
FAILED test/functional/terminal/tui_spec.lua @ 892: TUI #foo paste: terminal mode
test/functional/terminal/tui_spec.lua:899: Row 1 did not match.
Expected:
|*tty ready |
|*{1: } |
|* |
| |
|{5:^^^^^^^ }|
|{3:-- TERMINAL --} |
|{3:-- TERMINAL --} |
Actual:
|*process does not own the terminal |
|* |
|*[Process exited 2]{1: } |
| |
|{5:^^^^^^^ }|
|{3:-- TERMINAL --} |
|{3:-- TERMINAL --} |
To print the expect() call that would assert the current screen state, use
screen:snapshot_util(). In case of non-deterministic failures, use
screen:redraw_debug() to show all intermediate screen states.
stack traceback:
test/functional/ui/screen.lua:622: in function '_wait'
test/functional/ui/screen.lua:352: in function 'expect'
test/functional/terminal/tui_spec.lua:899: in function <test/functional/terminal/tui_spec.lua:892>
1 FAILED TEST
------------------------------------------------------------------------------
$NVIM_LOG_FILE: /home/sam/opensource/neovim/build/.nvimlog
(last 10 lines)
ERR 2023-07-12T23:15:37.878 T1265.229595.0 libuv_process_spawn:97: uv_spawn(/usr/sbin/pwd) failed: permission denied
ERR 2023-07-12T23:15:43.699 T1306.229935.0 libuv_process_spawn:97: uv_spawn(nosuchshell) failed: no such file or directory
ERR 2023-07-12T23:15:43.702 T1306.229935.0 libuv_process_spawn:97: uv_spawn(nosuchshell) failed: no such file or directory
ERR 2023-07-12T23:15:51.686 T1363.230363.0/ os_set_cloexec:475: Failed to get flags on descriptor 3: Bad file descriptor
ERR 2023-07-12T23:19:21.338 nvim.241164.0 tui_mode_change:1146: uv_tty_set_mode failed: inappropriate ioctl for device
ERR 2023-07-12T23:19:37.967 T4876.242179.0 os_set_cloexec:475: Failed to get flags on descriptor 3: Bad file descriptor
ERR 2023-07-12T23:20:45.192 T6364.246340.0 libuv_process_spawn:97: uv_spawn(fake_shell) failed: no such file or directory
ERR 2023-07-12T23:29:31.418 nvim.255311.0 tui_mode_change:1146: uv_tty_set_mode failed: inappropriate ioctl for device
------------------------------------------------------------------------------
-- Tests exited non-zero: Segmentation fault
-- No output to stderr.
FAILED: test/CMakeFiles/functionaltest /home/sam/opensource/neovim/build/test/CMakeFiles/functionaltest
cd /home/sam/opensource/neovim/build/test && /usr/bin/cmake -D NVIM_PRG=/home/sam/opensource/neovim/build/bin/nvim -D WORKING_DIR=/home/sam/opensource/neovim -D BUSTED_OUTPUT_TYPE=nvim -D TEST_DIR=/home/sam/opensource/neovim/test -D BUILD_DIR=/home/sam/opensource/neovim/build -D DEPS_INSTALL_DIR=/home/sam/opensource/neovim/build/usr -D TEST_TYPE=functional -D CIRRUS_CI= -D CI_BUILD=OFF -P /home/sam/opensource/neovim/cmake/RunTests.cmake
ninja: build stopped: subcommand failed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment