667 Commits

Author SHA1 Message Date
Nikolai Aleksandrovich Pavlov
eba68f05cb Merge pull request #1404 from ZyX-I/tcsh-whitelist
Do not use tcsh, mksh, busybox and socat from deps
2015-08-21 18:18:56 +03:00
Foo
fed3c70b81 Vim has moved to github, so tip and version tag got renamed 2015-08-21 18:13:26 +03:00
Fumihiro Xue
f098ed2fe0 Add ac-charging indication for battery segment 2015-07-27 13:48:32 +08:00
Foo
c184b2be12 Also do not use bot-ci mksh, busybox and socat dependencies
All of them were whitelisted:
- Mksh was whitelisted in travis-ci/travis-ci#3881.
- Busybox was whitelisted in travis-ci/travis-ci#3880.
- Socat was whitelisted in travis-ci/travis-ci#3883.
2015-07-09 22:54:49 +03:00
Foo
dbe7e16520 Do not use tcsh from deps
Tcsh was unmasked according to travis-ci/travis-ci#3882 and can now be installed 
by travis.
2015-07-06 21:13:14 +03:00
Nikolai Aleksandrovich Pavlov
b789437ce1 Merge pull request #1387 from mdeaudelin/develop
Fix dash bindings on OS X
2015-05-30 17:45:34 +03:00
Nikolai Aleksandrovich Pavlov
0ea0291fca Merge pull request #1371 from ZyX-I/clickable-tabs
Add support for clicking tabs in Vim
2015-05-29 22:54:22 +03:00
Foo
b8c30facb7 Fix typo in multi_byte feature name 2015-05-29 22:25:56 +03:00
Foo
c64570a50c Add unit tests 2015-05-29 22:25:56 +03:00
Foo
c000805065 Update integration tests 2015-05-29 22:25:56 +03:00
Foo
a718a10591 Add integration tests for tmux segment truncation 2015-05-23 16:11:08 +03:00
Foo
fe3b3b1598 Automatically truncate tmux status line when needed
Closes #1328 (but not fixes it)
Closes #137 (not actually fixes it because I do not know some segment widths)
2015-05-23 16:11:08 +03:00
Nikolai Aleksandrovich Pavlov
bf6191d144 Merge pull request #1372 from ZyX-I/pull-1366
Switch the underlying i3-IPC layer and deprecate i3bgbar bindings
2015-05-17 21:20:12 +03:00
Foo
dd8868413b Add i3wm segment unit tests 2015-05-17 21:05:59 +03:00
Foo
acb7c27a88 Use different highlight group for network_load divider
Fixes #1368
2015-05-17 12:01:11 +03:00
Mathieu Deaudelin
c93829385b Fix dash bindings on OS X
Fixes two errors that occur while using Powerline with dash under
Mac OS X.

Problem:  Execution of the mktemp command fails on OS X.
Cause:    mktemp requires a mandatory argument (-t or full path)
Solution: Provide an absolute path as a template to the mktemp command.

Problem:  powerline executable fails to be called because its
          command line unexpectedly contains spaces.
Cause:    The _POWERLINE_JOBS variable contains spaces, because the wc
          command returns spaces before the number on OS X.
Solution: Trim the spaces before assigning the value to the variable.
2015-05-13 16:04:23 -04:00
Foo
450dbecb34 Mock realpath if it is not present 2015-05-10 23:05:57 +03:00
Foo
24176882ab Use force-removal of .git
Otherwise it may hang with message like

    rm: remove write-protected regular file `tests/bot-ci/.git/objects/pack/pack-589af67feed5a0f1d2c4cfb43325ab5165539bcc.pack'?
2015-05-10 22:47:18 +03:00
Foo
37a0c4dd24 Enable directory caching 2015-05-10 22:47:18 +03:00
Foo
8e8e396778 Switch to container-based infrastructure 2015-05-10 22:47:18 +03:00
Foo
b88a16c98f Move from /opt to $HOME/opt 2015-05-10 22:47:18 +03:00
Foo
e097f656c3 Fix main arguments parser tests 2015-05-10 22:23:19 +03:00
Foo
424d71ee57 Use different string for tmux-2.0 2015-05-10 15:33:43 +03:00
Foo
a326153ba0 Disable fish tests
Properly fixing them is out of the scope of this PR
2015-05-10 15:07:03 +03:00
Foo
d11ddd0bbf Add hostname executable when running shell tests 2015-05-10 15:07:02 +03:00
Foo
d464ff84bb Fix warning when &l:statusline is set to a unicode value
This normally should not happen because &l:stl should be powerline-controlled,
but some plugins do this.

Fixes #1347
2015-04-17 22:36:23 +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
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
e6b3bff50a Rerun main() only after running finally block 2015-02-21 04:35:56 +03:00