diff --git a/tests/interactive.fish b/tests/interactive.fish index 4f5d39041..6a1228453 100644 --- a/tests/interactive.fish +++ b/tests/interactive.fish @@ -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