2304 Commits

Author SHA1 Message Date
Nikolai Aleksandrovich Pavlov
6b2b6d1e1a Merge pull request #1343 from radriaanse/patch-1
Add note on outdated ArchLinux AUR Packages.

Closes #1341
2015-04-04 15:36:19 +03:00
Remy Adriaanse
a17d7c8395 Add note on outdated ArchLinux AUR Packages. 2015-04-04 09:46:32 +02:00
Foo
364fc4dcd9 Merge commit 'HEAD@{1}' into develop 2015-04-03 22:42:41 +03:00
Foo
07cae386eb Reword troubleshooting question regarding automatic vimrc resoursing
Ref #1342
2015-04-03 22:42:23 +03:00
Nikolai Aleksandrovich Pavlov
7eda0e5c3d Merge pull request #1332 from ZyX-I/fix-1331
Always write str() objects to the stream in echoerr
2015-03-11 22:53:24 +03:00
Foo
6ca78c7383 Merge branch 'fix-1329' into develop 2015-03-11 22:50:00 +03:00
Foo
ff49538c04 Do not leak environment and home directory in documentation
Fixes #1329
2015-03-11 22:49:36 +03:00
Foo
9960a8fdc5 Always write str() objects to the stream in echoerr
Fixes #1331
2015-03-11 22:08:39 +03:00
Nikolai Aleksandrovich Pavlov
6b0cd3d37c Merge pull request #1327 from ZyX-I/fix-1322
Do not write empty lines above prompt and fix tcsh
2015-03-01 17:41:51 +03:00
Foo
10c0c5be5d Add above tests for bash, fish and zsh 2015-03-01 17:25:03 +03:00
Foo
4a3798b43b Fix tcsh renderer: end prompt with a sequence that is not dropped 2015-03-01 17:25:03 +03:00
Foo
209bff34dd Do not write empty lines from above, do not reset hl for empty lines
Fixes #1322
2015-03-01 16:25:28 +03:00
Nikolai Aleksandrovich Pavlov
333116d526 Merge pull request #1325 from ZyX-I/fix-su
Add missing highlight groups

Closes #1320 
Replaces #1323
2015-03-01 14:53:03 +03:00
Foo
17d73dd36f Define __eq__ for marks 2015-03-01 14:29:07 +03:00
Foo
93d2109589 Make messages from either check more sane 2015-03-01 14:26:28 +03:00
Foo
704d4a47b3 Remove non-keyword arguments from echoerr function 2015-03-01 14:26:28 +03:00
Foo
b88a2535d4 Add definitions for missing highlight groups 2015-03-01 14:26:28 +03:00
Foo
2d9e759f41 Make sure that check_group actually tests presense of some group
It was not much useful actually: e.g. it skipped the fact that warning:regular
highlight group was not defined.
2015-03-01 14:26:27 +03:00
Nikolai Aleksandrovich Pavlov
d797a25fa8 Merge pull request #1319 from ZyX-I/zsh-resource
Use special function for appending to precmd_functions
2015-02-27 00:41:16 +03:00
ZyX
76f73687cf Use special function for appending to precmd_functions
This way there appear no duplicates.
2015-02-23 15:59:21 +03:00
Nikolai Aleksandrovich Pavlov
ca6797055a Merge pull request #1317 from ZyX-I/gentoo-tests
Add some fixes for testing from ebuild
2015-02-21 20:33:05 +03:00
ZyX
3bf484de25 Break on self.quitting line
This may also cause python-3.2 pdb test to error out.
2015-02-21 19:55:39 +03:00
ZyX
68b43c59be Disable pdb PyPy tests completely
They currently fail for the reason that does not seem related to powerline
(though this problem did not occur before porting tests to pexpect, so this
should be somewhat related (somewhat: PyPy fails on code `return br'\u%04x'
% ord(c)` which is no a valid Python code (`%` can no longer be used with
`bytes()` obects), the whole situation only means that before using pexpect bug
in PyPy was not hit)).
2015-02-21 19:55:39 +03:00
ZyX
0058919c2b Remove blank lines from pdb output
It is the problem that causes python-3.2 pdb tests to fail on travis.
2015-02-21 19:55:39 +03:00
ZyX
9a89d4defa Do not special-case PyPy+ipython 2015-02-21 19:55:39 +03:00
ZyX
74e81bf788 Restore the timeout
There may be a reason for a test to take 3 minutes long, but there is no reason
for the test to take even half a minute long *without any output*.
2015-02-21 19:55:39 +03:00
ZyX
678faed4c2 Force destroying child after everything was done
Normally this line should not do anything useful.
2015-02-21 19:55:39 +03:00
ZyX
b7c7d29aa0 Use “non-blocking” read and stop on TIMEOUT and EOF 2015-02-21 19:55:39 +03:00
ZyX
deee40505d Do not repeat if more times then needed 2015-02-21 19:55:39 +03:00
ZyX
38a05b34d7 Do not use “which ipython” in echo since it is no longer relevant 2015-02-21 19:55:38 +03:00
ZyX
6a6991bcb4 Use 3 minutes for timeout 2015-02-21 19:55:38 +03:00
ZyX
7d98218b64 Do not wait, just .read()
.read() without arguments should read until EOF is received.
2015-02-21 19:55:38 +03:00
ZyX
0a87b558d9 Do not use child.wait(), it hangs 2015-02-21 19:55:38 +03:00
ZyX
0710f2760f Open log as binary file for writing
Child output is binary.
2015-02-21 16:11:04 +03:00
ZyX
d5361337c1 Use script to test whether python zsh uses matches $PYTHON 2015-02-21 16:08:50 +03:00
ZyX
0f86bbf819 In place of running ipython executable run IPython module
This should fix the problem with using wrong ipython for tests.
2015-02-21 15:59:10 +03:00
ZyX
b2ecb8ca84 Do not append PYTHON to *_REPO paths
$PYTHON variable is sometimes a full path which makes everything fail. It is
also useless move since directories are destroyed after tests and running two
test.sh scripts in parallel is not supported in any case.
2015-02-21 15:59:10 +03:00
ZyX
bb6342c12a Tell tmux correct path to shell to use 2015-02-21 15:59:10 +03:00
ZyX
d53c780071 Do not use absolute path for tmux socket
Absolute path is too long when using tests in ebuild.
2015-02-21 15:59:10 +03:00
ZyX
1e85f5df15 Disable vterm tests for PyPy completely 2015-02-21 15:59:10 +03:00
ZyX
22162a9656 Replace screen-based tests with pexpect-based tests
Currently works for all tests, but dash ones. Not much of a problem since dash
tests were disabled for being unstable.
2015-02-21 15:59:10 +03:00
ZyX
8524ee35e7 Ignore stderr from printf and env
socat may close pipe before they succeed to write something which results in

    env: write error: Broken pipe

(according to my experience leading printf’s always succeeds to write before
socat closes pipe).
2015-02-21 13:56:58 +03:00
ZyX
838a7c3b15 Fix the case when $0 is a path
I.e. something like /home/zyx/.vam/powerline/tests/shell/path/mksh.
2015-02-21 13:46:35 +03:00
ZyX
e6b3bff50a Rerun main() only after running finally block 2015-02-21 04:35:56 +03:00
ZyX
5ecf50b4d8 Use different $HOME 2015-02-21 04:35:56 +03:00
ZyX
683691931d Make sure that there is at least one blank line after full log 2015-02-21 02:38:17 +03:00
ZyX
fb0fba6c6d Do not modify $PATH and $LD_LIBRARY_PATH unless on travis 2015-02-21 02:38:17 +03:00
ZyX
e7c381a63f Make sure USER and HOME variables are defined 2015-02-21 02:38:17 +03:00
ZyX
be3fd917a9 Limit maximum amount of attempts to set register a 2015-02-21 02:38:16 +03:00
Nikolai Aleksandrovich Pavlov
6343ff0d8f Merge pull request #1316 from ZyX-I/full-non-travis-tests
Make it possible to run the whole test suite outside of travis
2015-02-21 00:59:25 +03:00