Commit Graph

635 Commits

Author SHA1 Message Date
Foo 436b4b680a Rename test_shell.py to test_shells.py 2017-12-02 17:56:43 +03:00
Foo eb17b5374b Add some working dash tests 2017-12-02 17:56:41 +03:00
Foo 870de7be21 Improve terminal.py:
1. Make it print true color escape sequences when debugging.
2. Add support for automatic row detection.
2017-12-02 17:56:37 +03:00
Foo 6bbcb610c7 Make vterm UTF-8 2017-12-02 17:56:36 +03:00
Foo 3fca2f8d02 Add skip command, rename tests/failures to tests/status 2017-12-02 17:56:34 +03:00
Foo 96f9c62d86 Start creating shell vterm tests
Should replace #1448.
2017-12-02 17:56:33 +03:00
Foo 29d0a3c171 Remove “output is not to a terminal” from Vim output 2017-12-02 17:56:31 +03:00
Foo cbea5357a9 Use different character for strwidth tests 2017-12-02 17:56:30 +03:00
Foo eb5834cf3e Move version
I do not actually see this character in diff of EastAsianWidth.txt though, but 
it appears that test with 5.1.0 uses 2 and succeeds, tests with 6.0.0 and 8.0.0 
use 1 and succeed, but test with 5.2.0 uses 2 and fails.
2017-12-02 17:56:28 +03:00
Foo 335be73d3e Check unidata_version to determine width
Did not actually determine whether this check is correct.
2017-12-02 17:56:26 +03:00
Foo b047abcd9a First call suite.fail, then super().fail 2017-12-02 17:56:24 +03:00
Foo 55d9c320dc Add missing import 2017-12-02 17:56:23 +03:00
Foo 0a1cf1780f Use better failure message 2017-12-02 17:56:22 +03:00
Foo f111a95b0d Change width to 1
May make test fail on older Python’s
2017-12-02 17:56:21 +03:00
Foo 2787855008 Disable travis hack
Assuming it is outdated.
2017-12-02 17:56:19 +03:00
Foo f0944f840e Make python tests also print to summary 2017-12-02 17:56:15 +03:00
Foo 2a4f76e4fa Also temporary allow pdp failures 2017-12-02 17:56:11 +03:00
Foo 45e148b3a0 Fix what attempts means for PowerlineTestSuite.test 2017-12-02 17:56:07 +03:00
Foo 0ad1d9be40 More granular failure reports in summary from vterm tests 2017-12-02 17:56:03 +03:00
Foo 28faebe260 Do not provide make_test_root unneeded argument 2017-05-21 16:10:33 +03:00
Foo 8e94773791 Fix test_vim.sh: should use standard directory as well 2017-05-21 16:10:30 +03:00
Foo 1151449a8c Switch vterm tests to use “standard” temporary directory in tests/tmp 2017-05-21 02:33:50 +03:00
Foo b0d31181cd Make bash tests check for pipestatus 2017-05-16 19:34:28 +03:00
Foo 30acc6ed4c Make default_leftonly theme use last_pipe_status 2017-05-16 19:34:27 +03:00
Foo 443679d532 Make last_pipe_status fallback to last_exit_code 2017-05-16 19:34:26 +03:00
Foo de899c5fc5 Export pipe status in bash bindings 2017-05-16 19:34:26 +03:00
Foo bf29fa9537 Save version to the proper location 2017-05-01 04:31:07 +03:00
Foo 8da977e0a1 Insert travim_fold calls to enter_suite and exit_suite 2017-05-01 04:31:06 +03:00
Foo 2d877c9240 Move shell tests inputs and outputs to separate directories 2017-05-01 01:58:48 +03:00
Foo 65c6ed1cff Try setting LD_LIBRARY_PATH
Currently zpython test does not work: libzpython could not load libpython.
2017-05-01 01:45:07 +03:00
Foo 4c5b02d236 Remove “test x” nonsense 2017-05-01 01:28:44 +03:00
Foo 2fcbd89ef8 Trace checkout_cached_dir, use rev-parse in place of some hack 2017-05-01 01:17:09 +03:00
Foo 225ed1f230 Do not add fish and dash to $TEST_ROOT/path 2017-05-01 01:17:09 +03:00
Foo 5a3e19847e Refactor shells test code
Tests passing locally:

bash (no)daemon C
busybox (no)daemon C
fish (no)daemon C
mksh (no)daemon C
rc (no)daemon C
tcsh (no)daemon C
zsh (no)daemon C
zsh zpython
ipython
pdf module
pdf subclass

dash has problems with job control (bgscript.sh not finished by kill)
2017-05-01 00:28:25 +03:00
Foo 717ae5e428 Refactor make_tmp_dir to make_test_root
This fixes problem with `exit_suite --continue` wiping out tmp directory.
2017-04-30 22:55:20 +03:00
Foo 1303cd1b04 Move tests/run_*_tests.sh to tests/test_*/test.sh
Warning: this also makes shell tests run.
2017-04-30 22:40:43 +03:00
Foo 0fc96abce2 Move “library” tests/*.sh to tests/shlib 2017-04-30 18:20:30 +03:00
Foo f3bf749467 Move tests run by run_python_tests to tests/test_python 2017-04-30 18:20:30 +03:00
Foo 53a7d1046e Move messages.fail to a temporary directory 2017-04-30 18:20:30 +03:00
Foo 82ca32edc9 Move vim integration tests to test_vim 2017-04-30 18:20:29 +03:00
Foo c30383a194 Move Python tests.* modules to tests/modules, rename tests/path 2017-04-30 16:02:04 +03:00
Foo 2a1aef1bac Add blank vim+vterm tests 2017-04-30 14:44:26 +03:00
Foo cac99271ca Move lib variable to do_terminal_tests 2017-04-30 14:42:54 +03:00
Foo 255ff49def Define tests via dictionaries, do not hardcode row number 2017-04-30 14:36:50 +03:00
Foo 9d7366436b Move some env variables definition out of run_vim_tests.sh 2017-04-30 13:55:58 +03:00
Foo 96d83346a5 Be more explicit about what to link tmux executable to 2017-04-30 13:55:58 +03:00
Foo a05857e64e Move some code away of test_tmux.sh 2017-04-30 13:55:58 +03:00
Foo 65130ae6ff Hide test/vterm_tmux in env variable, use absolute paths 2017-04-30 13:55:57 +03:00
Foo 1b3aacb837 Move most of the vterm testing code to tests.lib.terminal 2017-04-30 13:18:50 +03:00
Foo e34a372f10 Fix number of spaces 2017-04-30 12:21:46 +03:00