Philip Wellnitz
f9ce8201c4
Fix #1953 ( #1997 )
...
* ipython fix
* ipython fix
* ipython fix
* fix ipython startup
* better fix for nbsp
* ipython7: fix attributes
* Change ipythen tests to use new binding
* ipython test: use proper config
2019-10-08 03:29:43 +09:00
Foo
4a834f38aa
Only enable tracing for “final” suites: suites not having subsuites
2018-02-25 22:16:05 +03:00
Foo
2a4f76e4fa
Also temporary allow pdp failures
2017-12-02 17:56:11 +03:00
Foo
b0d31181cd
Make bash tests check for pipestatus
2017-05-16 19:34:28 +03:00
Foo
2d877c9240
Move shell tests inputs and outputs to separate directories
2017-05-01 01:58:48 +03:00
Foo
65c6ed1cff
Try setting LD_LIBRARY_PATH
...
Currently zpython test does not work: libzpython could not load libpython.
2017-05-01 01:45:07 +03:00
Foo
4c5b02d236
Remove “test x” nonsense
2017-05-01 01:28:44 +03:00
Foo
225ed1f230
Do not add fish and dash to $TEST_ROOT/path
2017-05-01 01:17:09 +03:00
Foo
5a3e19847e
Refactor shells test code
...
Tests passing locally:
bash (no)daemon C
busybox (no)daemon C
fish (no)daemon C
mksh (no)daemon C
rc (no)daemon C
tcsh (no)daemon C
zsh (no)daemon C
zsh zpython
ipython
pdf module
pdf subclass
dash has problems with job control (bgscript.sh not finished by kill)
2017-05-01 00:28:25 +03:00
Foo
1303cd1b04
Move tests/run_*_tests.sh to tests/test_*/test.sh
...
Warning: this also makes shell tests run.
2017-04-30 22:40:43 +03:00
Foo
0fc96abce2
Move “library” tests/*.sh to tests/shlib
2017-04-30 18:20:30 +03:00
Nikolai Aleksandrovich Pavlov
5fa504118e
Merge pull request #1642 from ZyX-I/wm-daemon
...
Use powerline daemon for running awesome bindings
2017-04-01 15:31:42 +03:00
Foo
64d96c833e
Fix shell tests
2016-10-29 19:00:59 +03:00
Foo
be762da476
Provide explicit scope information in powerline.zsh
...
Fixes #1647
2016-09-17 18:24:47 +03:00
Foo
5784c0cbc6
Use powerline daemon for running awesome bindings
...
Also adds functional tests for awesome bindings.
Replaces #1641
2016-08-20 21:03:24 +03:00
Foo
0fc01e07be
Allow ipython tests to fail
2016-07-09 16:53:39 +03:00
Foo
66c6de34ee
Slow down IPython tests
2016-07-09 16:53:39 +03:00
Foo
959693fa97
Temporary fix for failing zsh tests
2015-08-22 18:05:07 +03:00
Foo
b7bca615af
Use tests/common.sh for reporting test failures
2015-08-22 17:29:44 +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
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
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
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
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
be3fd917a9
Limit maximum amount of attempts to set register a
2015-02-21 02:38:16 +03:00
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
f4e3c3099f
Remove everything up until `class Foo(object):` in pdb tests
...
PyPy3 displays prompt two times on the line where `s` is present.
2015-02-01 12:13:56 +03:00