ZyX
2bd25d7979
Test Command-T plugin
2015-01-06 01:51:31 +03:00
ZyX
d8307b03ae
Create tests for CtrlP
2015-01-06 01:39:23 +03:00
ZyX
d51a50223e
Use $ROOT in place of $PWD in run_vim_tests, set $PYTHONPATH
...
Checking whether this fixes Python-2.6 build failure
2015-01-05 21:28:54 +03:00
ZyX
6b89c8e394
Preserve old value of LD_LIBRARY_PATH
2015-01-03 00:07:07 +03:00
ZyX
e86ec8bf99
Make sure not to add colon unless required
2015-01-03 00:04:11 +03:00
ZyX
375a169825
Install bc as it is required by test_shells/test.sh
2015-01-02 23:53:46 +03:00
ZyX
c7fe5dbbb4
Use `set -e` for testing shells
2015-01-02 21:31:39 +03:00
ZyX
9374d135f2
Do not install pyuv watcher in Python-2.6
...
If pyuv watcher is installed then powerline.lib.vcs tests do not pass because
pyuv is missing notify events and INotify watcher is not available.
Ref #1041
2015-01-02 16:06:01 +03:00
ZyX
6a339a3a3a
Install built fish
2015-01-02 15:25:06 +03:00
ZyX
f311f75d0a
Install libssl1.0.0
...
Should be required for Python sha256 hash to work. Actually it should be
installed already.
2015-01-02 15:25:06 +03:00
ZyX
f2fd92068e
Add support for testing zsh with zpython bindings
2015-01-02 15:25:01 +03:00
ZyX
7181c1d9b6
Move some functions to powerline.lib.dict
...
Moved functions: `merge*` from `powerline.lib` and `mergeargs` from
`powerline.commands.main`.
2015-01-02 15:23:49 +03:00
ZyX
9ae76a9971
Use UCS2 Python versions for running tests
2015-01-02 15:23:44 +03:00
ZyX
ef3acefdd1
Only run Vim tests if PYTHON_IMPLEMENTATION is CPython
2015-01-02 03:37:21 +03:00
ZyX
f5e9ec387c
Use old Vim for tests, perform sanity test with empty &encoding
2015-01-02 03:37:21 +03:00
ZyX
5d6caaeecd
Use compiled Vim binaries for Vim tests
...
Part 1: use latest single-python Vim builds
2015-01-02 03:37:21 +03:00
ZyX
104cea9a5c
Install binary dependencies from powerline/deps
2015-01-02 03:37:20 +03:00
ZyX
9e454235b3
Skip testing cpu_load_percent if psutil module is not available
2014-12-08 21:15:39 +03:00
ZyX
8ae3d2aeaf
Fix typo in install.sh
2014-12-08 08:42:08 +03:00
Nikolai Aleksandrovich Pavlov
d2a1106c04
Merge pull request #1206 from ZyX-I/fbterm-support
...
Add support for fbterm
2014-12-06 17:08:41 +03:00
ZyX
033422aff2
Add tests for various shell escapes variants
2014-12-06 16:53:00 +03:00
Nikolai Aleksandrovich Pavlov
3a175fecf4
Merge pull request #1221 from ZyX-I/fix-lib-unicode
...
Fix some issues in powerline.lib.unicode
2014-12-06 15:57:42 +03:00
Nikolai Aleksandrovich Pavlov
7a6fc1ed75
Merge pull request #1219 from ZyX-I/limit-abstract-sockets-usage
...
Use sockets in abstract namespace only if running on linux
2014-12-06 15:05:46 +03:00
ZyX
8707f35bc9
Fix safe_unicode and string unicode library functions
2014-12-06 14:47:53 +03:00
ZyX
87ca9bca5c
Make unichr() work with characters above U+10000 in UCS-2 builds
2014-12-06 14:40:46 +03:00
ZyX
f0f6efcdbb
Also have uname in $PATH
...
Travis uses Ubuntu, Ubuntu is debian-based and debian uses dash as /bin/sh, so
$OSTYPE is not available.
.
2014-12-06 00:52:17 +03:00
ZyX
f8270a8e49
Skip some functions’ tests as they are buggy
...
They are buggy, but fixing them is out of the scope of this PR.
2014-12-05 23:15:52 +03:00
ZyX
cdfe6f03b2
Add support for running tests with debug Python versions
...
They are failing due to `[NNNN refs]` entries in daemon log and when switching
modes in zsh without daemon, but who cares.
2014-12-05 23:09:21 +03:00
ZyX
df14aaaa9c
Add tests for unicode module
...
Note: east_asian_width does not accept surrrogate pairs in UCS-4 Python builds.
2014-12-05 22:41:50 +03:00
ZyX
a9aef12c34
Remove unused test files
2014-11-30 03:23:12 +03:00
ZyX
8560e9261d
Move code for checking existence and getting funcs into vim bindings
2014-11-30 02:17:41 +03:00
ZyX
1707f083e9
Modify postproc to make pypy tests work
...
Note: modification to test.sh is there because if running test outside of
a virtualenv postproc.py will behave incorrectly.
2014-11-30 00:30:35 +03:00
ZyX
3f0d538584
Use dash hack for PyPy+IPython
...
Fixes #1051
Closes #919 (I hope so)
2014-11-29 21:40:06 +03:00
ZyX
d62336f7a2
Add a way to specify configuration paths to powerline-config
...
One still cannot override various configuration options from the command-line.
2014-11-29 19:32:27 +03:00
ZyX
c949f4ce95
Output list of failed shell tests
2014-11-28 23:02:12 +03:00
ZyX
c81ef95c27
Use newline for dash, not CR
2014-11-28 23:01:19 +03:00
ZyX
5c75bef18c
Add integration tests for unicode directory names
2014-11-28 22:58:53 +03:00
ZyX
b845cc25b4
Fix tests on python-2.6
...
csv module does not appear to work will with multiline strings in csv,
especially incomplete.
2014-11-10 01:08:37 +03:00
ZyX
c9cb856acd
Add support for vim_func_exists to tests/vim.py
2014-11-10 00:35:40 +03:00
ZyX
d392cf3322
Add support for csv files
...
Equivalent to airline csv Christian Brabandt plugin integration, but uses Python
own facilities.
Note: filetype detection is out of the scope of the powerline responsibilities.
CSV is supported by powerline, but only as long as filetype detection is
done by Vim correctly. By default CSV files are neither detected nor
highlighted.
Some known differences between powerline code and @chrisbra plugin with
corresponding airline integration:
1. Detection work differently. I cannot say which is better because I have not
tested it much, but it is definitely different.
2. My variant is able to detect whether there is (no) header. (Of course,
relying on Python code.) Airline is using a setting. (Both do not allow
manual per-filetype setting.) Of course, user can force either variant (no
headers at all or headers always).
3. My variant makes it possible to configure header output format, including
truncating it at 15 characters (the default).
4. CSV plugin does not work with multiline CSV items (in some dialects one can
use code like `abc;"I<CR>am<CR>multiline<CR>string"`). See `:h csv-column` on
how to fix this if possible (will require also changing `<sid>WColumn`
function because currently it only works with one line).
5. AFAIK Python does not such a thing as “fixed width CSV”. Thus I do not work
with this, but CSV plugin does. Not sure whether it is different with
space-separated CSV files though.
2014-11-09 23:54:49 +03:00
ZyX
28435f05d2
Add support for Command-T
2014-11-09 23:54:48 +03:00
ZyX
fadd1eec17
Move all parser definitions to powerline.commands.*.get_argparser()
...
Reasoning: they will be easier to reach there. It will also be possible to use
specific ArgumentParser class that will just collect data for sphinx.
2014-10-25 22:03:33 +04:00
ZyX
0d3609fb96
Specify $TERM in place of assuming it is set to something working
...
Ref #1104
2014-10-12 00:41:06 +04:00
ZyX
d1ac624c7f
Fix broken tests
2014-10-12 00:36:53 +04:00
ZyX
8b1a502f0d
Add ignore_statuses option to branch segments
...
Closes #1080
2014-09-26 00:34:32 +04:00
ZyX
3f2aabb77b
Refactor Vim and common branch segments to share code
2014-09-26 00:20:58 +04:00
ZyX
c68eb56f7c
Raise exceptions that are not intercepted when testing
...
Thus problems like in #1087 will result in build failure.
2014-09-21 15:53:22 +04:00
ZyX
679b66466f
Fix WM bindings tests
2014-09-21 15:53:22 +04:00
ZyX
fcf5702b7f
Use pwd.getpwuid or getpass.getuser to get current user name
2014-09-21 15:26:27 +04:00
ZyX
bb5977c8eb
Fix tests with <psutil-2.0
2014-09-21 15:11:01 +04:00