Skip to content

test: run the TOOLS/lua test scripts - #18717

Open
kasper93 wants to merge 3 commits into
mpv-player:masterfrom
kasper93:lua-tests
Open

kasper93 wants to merge 3 commits into
mpv-player:masterfrom
kasper93:lua-tests

Conversation

@kasper93

Copy link
Copy Markdown
Member

No description provided.

The results of the wc -c, cat and detached subprocess tests were only
printed. Check them and quit with exit code 1 when one is wrong or has
not finished when the file ends.
Play a two second lavfi source with each script and the null VO and AO.
A test fails when mpv exits with an error. Most of those test don't
report any errors, this can be improved in the future. For now only
command-test.lua report errors on subprocess tests.
@kasper93

Copy link
Copy Markdown
Member Author

I don't know what is the usecase, but we have few files with -test suffix, so maybe we run them instead of letting them rot.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant