Commit Graph

79 Commits

Author SHA1 Message Date
ZyX 75c5295a8c Adjust fish version tests for bot-ci-compiled fish 2015-02-21 00:08:12 +03:00
ZyX 02b31f36bd Only run fish tests for development version or for 2.1.2 and higher
Currently tests also test Vi key bindings support, but it is not in any release 
yet.
2015-02-20 23:37:13 +03:00
ZyX b349d6e390 Make sure that fish tests are not run for old fishes 2015-02-20 23:16:01 +03:00
ZyX 4c6a2e3e59 Also check that MIME type matches during tests
MIME type names are inconsistent across different systems, so only first
component is used. For example, `file` in Travis Ubuntu detects Python scripts
as `text/x-java`, in Gentoo these are `text/x-python`.

Travis Ubuntu also uses magic file format different from the one
sys-apps/file-5.22 from Gentoo has, making it impossible to fix the issue by
just copying the files from my system.
2015-02-19 02:48:03 +03:00
ZyX d57be8324a Do not alter the way keys are fed with PyPy 2015-02-02 00:12:06 +03:00
ZyX 0db8154b9a Document how to pdb bindings with Python-2.6 and update tests 2015-01-31 21:44:43 +03:00
ZyX e63a1c7cb5 Display the log after long wait 2015-01-31 21:34:26 +03:00
ZyX f9d65fb34d Do not wait for too long in do_run_test 2015-01-31 20:25:40 +03:00
ZyX ef02ab70fb Also test powerline.bindings.pdb module 2015-01-31 18:52:04 +03:00
ZyX 47dbdd571d Add pdb integration tests 2015-01-31 18:52:04 +03:00
ZyX 9511c45e6f Make sure to remove logs before retrying 2015-01-09 17:42:20 +03:00
ZyX c6bf5fb512 Add support for Byron Rakitzis’ rc shell reimplementation
Fixes #1238
2015-01-08 03:32:13 +03:00
ZyX d6e0dc7169 Use more then one attempt to run shell tests
They are rather unstable, especially IPython + PyPy, but others also are.
2015-01-08 03:12:11 +03:00
ZyX 0e75400a7d Make sure that overrides do not affect Vim and IPython
Fixes #1201
2015-01-07 17:51:26 +03:00
ZyX c3e6c2aeab Make POWERLINE_COMMAND a single path without arguments
Ref #1201
2015-01-07 15:07:27 +03:00
ZyX 4d35167b13 Avoid using overrides in $POWERLINE_COMMAND 2015-01-07 01:14:20 +03:00
ZyX c7fe5dbbb4 Use `set -e` for testing shells 2015-01-02 21:31:39 +03:00
ZyX f2fd92068e Add support for testing zsh with zpython bindings 2015-01-02 15:25:01 +03:00
ZyX 9ae76a9971 Use UCS2 Python versions for running tests 2015-01-02 15:23:44 +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 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 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 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 0d3609fb96 Specify $TERM in place of assuming it is set to something working
Ref #1104
2014-10-12 00:41:06 +04:00
ZyX 8587d14598 Link git executable to tests/shell/path 2014-09-20 14:43:45 +04:00
ZyX d3b57f7c31 Include args.config_path in the key
Consider the following script:

    % powerline-daemon -s powerline-test
    % powerline --socket powerline-test -p/dev/null shell left
    Config file not found in search paths (/dev/null): config.json
    % powerline --socket powerline-test shell left
    Config file not found in search paths (/dev/null): config.json

Note the problem: second call to powerline does not use offending path, but it 
still emits the error “Config file not found in search paths”.
2014-09-08 23:53:05 +04:00
ZyX 10e8d9bb15 Do not use &> in #!/bin/sh scripts 2014-08-29 23:21:19 +04:00
ZyX 5bd543ae89 Do not run daemon when running with ONLY_TEST_TYPE=nodaemon 2014-08-29 23:13:10 +04:00
ZyX 9a0e100ca0 Specify -p argument in run function when running shell tests 2014-08-29 23:13:10 +04:00
ZyX e02647560a Move LANG setting to run function, remove useless BINDFILE variable 2014-08-27 23:52:09 +04:00
ZyX 45d2053053 Do not specify $PYTHON when running python client
It is not needed: in the environment where it is run only python is the one
linked in tests/shell/path.
2014-08-24 19:57:58 +04:00
ZyX 58057c95b9 Add a directory that will make fish_update_completions not launch 2014-08-24 17:14:37 +04:00
ZyX 54672aace0 Make COMMAND_PATTERN consistent with other arguments 2014-08-24 17:14:37 +04:00
ZyX 20e9575c17 Do not try to test ipython if it is not available 2014-08-23 16:24:16 +04:00
ZyX 1b56179676 Disable dash tests in travis 2014-08-23 16:02:04 +04:00
ZyX ebc98977ae Make test_shells/test.sh compatible with dash 2014-08-23 16:00:34 +04:00
ZyX 9b7052bf3e Do not execute all tests in travis 2014-08-23 15:51:35 +04:00
ZyX 0232d3215b Add --socket argument to all clients
Makes it not needed to kill daemon for testing, but disables implicit
`powerline-config shell command` testing.
2014-08-23 15:19:00 +04:00
ZyX 77a7a26782 Do not require scripts/powerline
It may be immediately moved to bin/ sometimes or not compiled at all for some
reason.
2014-08-23 15:19:00 +04:00
ZyX 042d542231 Also test whether running daemon is successfull without arguments 2014-08-23 15:19:00 +04:00
ZyX b9360a083a Make tests test powerline daemon with valid python and all clients 2014-08-23 15:19:00 +04:00
ZyX 89afac44bb Add support for PS2 and PS3 prompts outside of zsh 2014-08-12 08:04:35 +04:00
ZyX fcc397100e Wait for screen to initialize, based on screen exit status
Otherwise bash tests tend to fail randomly
2014-08-10 18:19:48 +04:00
ZyX fdd8f6df3c Wait for pid file to appear
Should fix some rare bash test failures
2014-08-10 17:10:35 +04:00
ZyX 7ade6d1fc0 Use busybox as shell name in place of bb
Conflicts:
	tests/test_shells/test.sh
2014-08-10 17:02:07 +04:00
ZyX 01185eb9c8 Use bgscript.sh in place of direct bash call 2014-08-10 16:58:55 +04:00
ZyX f51134deef Run shell tests in an isolated environment 2014-08-10 16:13:33 +04:00