ZyX
55858e1a9d
Fix tests for new psutil
2014-03-13 20:05:52 +04:00
ZyX
acff89a8e9
Remove useless lock
2014-02-26 08:15:26 +04:00
ZyX
ba41cecb72
Add powerline.lib.threaded tests
2014-02-23 15:18:20 +04:00
ZyX
68a6fd056c
Use monotonic() in place of time.time()
2014-02-23 14:44:36 +04:00
ZyX
58d5d6b078
Remove failing test
2014-02-16 21:22:05 +04:00
ZyX
a86c66f4e0
Update zsh tests
...
Note: to make prompt fancy enough powerline-daemon should be used. Otherwise
continuation prompt length is different from what was expected:
With daemon:
user > env > path > if true ; then
then > fi
Without:
user > env > path > if true ; then
then > fi
Fixes #771 as I do not want to touch tcsh any longer
2014-02-16 21:15:57 +04:00
ZyX
5c33de7a24
Also test zsh local themes
2014-02-16 20:52:22 +04:00
ZyX
8718bf76ce
Add tests for continuation segment
2014-02-16 20:41:01 +04:00
ZyX
66d98e7def
Improved battery segment:
...
- Ignore `steps` if gamify is False.
- Add `full_heart` and `empty_heart` keywords.
- Document `format` keyword.
- Replace `draw_soft_divider` with `draw_inner_divider`.
2014-02-09 13:44:06 +04:00
Joshua Perry
c4fb09a418
Update tests to support parameter on _get_capacity()
2014-02-09 02:36:19 +04:00
ZyX
773d6a6600
Also use --allow-unverified
2014-02-09 01:25:18 +04:00
ZyX
5e4daed72b
Install bazaar with --allow-external
2014-02-09 01:22:50 +04:00
ZyX
d85ae963c3
Sleep more
2014-01-30 09:00:33 +04:00
ZyX
c648178be0
Strip anything but prompt from tcsh tests
...
There are some problems with a number of spaces on travis: it differs. Cannot
use the same code as for fish because output looks like
{prompt}{spaces}^[0m ^[[{number}D
and both `{spaces}` and `{number}` differ on my machine and in travis.
2014-01-27 00:22:38 +04:00
ZyX
fe99e252e9
Add tcsh tests
2014-01-27 00:10:48 +04:00
ZyX-I
a4e8f36f36
Merge pull request #706 from ZyX-I/better-errors
...
Better error handling
2014-01-26 10:43:16 -08:00
ZyX
bb343765b0
Add powerline: exception prefix
2014-01-26 22:45:11 +04:00
ZyX
6ba13c1d0f
Modify appropriate theme
2014-01-26 22:35:02 +04:00
ZyX
8984647106
Add tests
2014-01-26 22:27:28 +04:00
ZyX
a571f49b3d
Get rid of printf
2014-01-26 21:59:33 +04:00
ZyX
480434331f
Add tests for special characters escaping
2014-01-26 21:45:02 +04:00
ZyX
e3bf63e55c
Do not do needless copying in test_shells/test.sh
2014-01-26 21:30:01 +04:00
ZyX
e7820efe56
Make powerline work with non-utf filenames
...
Fixes #281
2014-01-26 21:01:19 +04:00
ZyX
e489e549a6
Move setup to powerline-setup.fish
...
This file is supposed to be placed in /usr/share/fish/functions.
2014-01-23 19:32:19 +04:00
ZyX
64e23d346e
Merge branch 'patch-1' into develop
...
Fixes #724
2014-01-23 18:45:46 +04:00
ZyX
b75d2b531f
Add tests
2014-01-23 18:45:09 +04:00
ZyX-I
79c4d37814
Merge pull request #696 from ZyX-I/fish
...
Add powerline/bindings/fish/powerline.fish
2014-01-23 06:36:58 -08:00
ZyX
9fcfd54d90
Disable fish tests on travis
2014-01-23 18:33:33 +04:00
ZyX
b37940235c
Also print shell version string
2014-01-23 16:41:29 +04:00
ZyX
d75f47a0c7
Use `.` for sourcing in fish
...
It appears that travis uses fish version without this command. Though `.` is
deprecated on new versions it is still supported for backwards compatibility,
thus may be used here.
2014-01-23 16:32:18 +04:00
ZyX
8b341c622e
Make XDG_CONFIG_HOME point to writeable location
2014-01-23 16:14:32 +04:00
ZyX
12aa69a0c2
Also output full.log
...
Hope it will give some hints about why fish tests fail on travis
2014-01-23 15:58:52 +04:00
EinfachToll
10cd7b78f0
More test cases for position segment
2014-01-23 09:23:53 +01:00
ZyX
6004403947
Another attempt to fix fish on travis
2014-01-23 07:45:35 +04:00
ZyX
2f98276ee0
Make postproc.py only leave fish prompt
...
Should fix fish tests
2014-01-23 07:36:54 +04:00
ZyX
166f827c9f
Improve test_shells/test.sh:
...
- Add argument that makes it run only one shell
- Make this argument also force skipping removal of tests/shell directory
- Make it copy logs to tests/shell before and after processing
2014-01-23 07:36:08 +04:00
ZyX
11f86e77b0
Add fish tests
2014-01-22 08:33:43 +04:00
EinfachToll
90132fe386
Small fixes for new position segment
...
- use vim_funcs
- use a dictionary instead of a tuple for translation strings
2014-01-21 15:48:05 +01:00
EinfachToll
45e4650d5c
Merge branch 'develop' into feature/539-position-segment
2014-01-21 15:40:05 +01:00
ZyX
a590e100a2
Fix functional shell tests in travis
...
Hostname in travis contains random numbers meaning that it occasionally may
contain a PID as well. Thus it must be replaced first.
2014-01-19 17:26:31 +04:00
ZyX
2b171cff67
Try to workaround problems with last line in travis
2014-01-18 01:59:19 +04:00
ZyX-I
2a525ae4f8
Merge pull request #667 from kovidgoyal/fix-git-branch-name
...
Fix git branch name sometimes getting stuck with inotify
2014-01-17 10:20:25 -08:00
ZyX
56ef798218
On travis there are differences in CRs for some reason
...
This commit strips CRs from *.ok files and test output. Test failure used to be
not recognized due to pipe: `cat -v` always succeeds meaning that `if ! diff
… | cat -v` always succeeds too.
2014-01-17 21:34:18 +04:00
ZyX
ac9703e04c
Also check for jobnum
2014-01-17 20:54:47 +04:00
ZyX
a71c49d96b
Add tests
2014-01-17 20:51:38 +04:00
EinfachToll
7aa978fdba
New fixed segment showing position of current view
...
Solves #539
Fixed version of #540 and #579
Works now for split windows and wrapped lines.
2014-01-15 10:32:04 +01:00
ZyX
31f85800b6
Merge branch 'kruton-develop' into develop
...
Fixes #748
2014-01-14 23:42:22 +04:00
Kenny Root
c33d56e73c
Add arg to optionally suppress user segment
...
This adds the option to common.user to suppress display if the username
matches the given string in the new "hide_user" argument.
2014-01-13 23:57:41 -08:00
ZyX
2e713269ae
Always show hostname (travis is ssh), fix jobnum in zsh
2014-01-14 00:18:34 +04:00
ZyX
0f0a5e92d3
Replace sed with python script
...
sed escaping is wrong: e.g. re.escape() will escape `+`, but with BRE escaped
plus is quantifier
2014-01-13 22:37:33 +04:00