2866 Commits

Author SHA1 Message Date
Nikolai Aleksandrovich Pavlov
c9824da701 Merge pull request #1764 from ZyX-I/tmux-workaround
Break #… sequences inside `#()` in tmux status options
2017-05-06 21:44:36 +03:00
Foo
37cd44ae75 Break #… sequences inside #() in tmux status options 2017-05-06 00:33:01 +03:00
Nikolai Aleksandrovich Pavlov
5e46d3b1ef Merge pull request #1762 from ZyX-I/travis-folds
Use custom travis folds
2017-05-01 06:19:53 +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
Nikolai Aleksandrovich Pavlov
9bad9b8375 Merge pull request #1761 from ZyX-I/vterm-vim-tests
Refactor test scripts and reenable shell tests
2017-05-01 03:17:54 +03:00
Foo
343b217cae Fix warncreateglobal warning from zsh_expand 2017-05-01 02:15:50 +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
Nikolai Aleksandrovich Pavlov
1d602204b1 Merge pull request #1760 from ZyX-I/vterm-tests
Fix tmux vterm tests
2017-04-30 12:45:15 +03:00
Foo
e34a372f10 Fix number of spaces 2017-04-30 12:21:46 +03:00
Foo
e3d0649372 Always remove all tmux logs 2017-04-30 06:40:05 +03:00
Foo
afb6b0995d Do not force MutableDimensions inherit from Dimensions 2017-04-30 06:36:29 +03:00
Foo
a2bc59c020 Do not call Dimensions.__init__ 2017-04-30 06:06:52 +03:00
Foo
93cbeb92e9 Fix misplaced lines 2017-04-30 05:35:53 +03:00
Foo
bbb9ae21f4 Move printing tmux logs out of test_expected_result 2017-04-30 05:34:19 +03:00
Foo
883aa73e9f Refactor vterm tests: move most of things out of the try 2017-04-30 05:31:14 +03:00
Foo
519f08541b Also move arguments list out of the try body 2017-04-30 05:07:25 +03:00
Foo
3d0f168806 Refactor try block in main and refactor specifying dimensions 2017-04-30 05:05:32 +03:00
Foo
3b769d2b98 Make sure window_flags always have at least one space 2017-04-30 05:05:31 +03:00
Foo
4c2583311c Do not make build successfull if only second test was successfull 2017-04-30 05:05:30 +03:00
Foo
32eec2f9f3 Rename expected_result_new to expected_result_1_8 2017-04-30 05:05:30 +03:00
Foo
756ea5bfab Still try to kill server, just now not allow exceptions to fail build 2017-04-30 05:05:29 +03:00
Foo
86f6943b08 Unlink in place of appending x 2017-04-30 05:05:29 +03:00
Foo
b93ae8e8a2 Do not reuse existing socket paths 2017-04-30 05:05:28 +03:00
Foo
e19feb9472 Use different socket for each attempt 2017-04-30 05:05:28 +03:00
Foo
b71d5f2d44 Do not bother with issuing kill-server, simply -KILL tmux 2017-04-30 05:05:27 +03:00
Foo
36b9c966e0 Use absolute path for -S
It appears that using relative path for -S is not the best idea and yields tmux 
calls from powerline-config not working.
2017-04-30 05:05:26 +03:00
Foo
908d767ec0 Give a name to tmux default statusline color 2017-04-30 05:05:25 +03:00
Foo
b7a46eb7a8 Give some colors names 2017-04-30 05:05:24 +03:00
Foo
4a3f098f22 Use powerline.conf as it is supposed to be used 2017-04-30 05:05:22 +03:00