mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-03-15 23:22:53 +08:00
Allow to run individual interactive tests by setting FISH_PEXPECT_FILES
This command builds all test dependencies and runs the bind.py test: FISH_PEXPECT_FILES=../tests/pexpects/bind.py ninja test_interactive
This commit is contained in:
parent
fb873f2e98
commit
7a53c40fd4
@ -20,6 +20,8 @@ set -e ITERM_PROFILE
|
||||
# Test files specified on commandline, or all pexpect files.
|
||||
if set -q argv[1]
|
||||
set pexpect_files_to_test pexpects/$argv.py
|
||||
else if set -q FISH_PEXPECT_FILES
|
||||
set pexpect_files_to_test (string replace -r '^.*/(?=pexpects/)' '' -- $FISH_PEXPECT_FILES)
|
||||
else
|
||||
set pexpect_files_to_test pexpects/*.py
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user