2772 Commits

Author SHA1 Message Date
Foo
3c4ec09281 Do not set -x, it fails some tests and makes some output not readable 2018-02-25 22:36:52 +03:00
Foo
d27961f0b0 Unset POWERLINE_SUITE_FINAL if exit_suite is continuing 2018-02-25 22:35:11 +03:00
Foo
2fc0e8e520 Use proper $PYTHON in case of UCS2 build and non-bash script 2018-02-25 22:28:29 +03:00
Foo
4a834f38aa Only enable tracing for “final” suites: suites not having subsuites 2018-02-25 22:16:05 +03:00
Foo
23bec031a4 Do not use python from ~/opt directly
It causes problems with sys.path: interpreter could not use installed packages.
2018-02-25 21:53:24 +03:00
Foo
466ee2e295 Print more detailed diagnostics
Specifically, disable set -x from main.sh, but add nicer print_environ function 
executed before each test suite, also setting `set -x` in `enter_suite`.
2018-02-25 21:37:47 +03:00
Foo
910c6a33dd Define PYTHON and LD_LIBRARY_PATH before sourcing main.sh 2017-12-16 16:28:56 +03:00
Foo
ed0630d074 Make UCS2 Python a separate stage and run that first 2017-12-03 00:17:08 +03:00
Foo
f507a6370a Do commit code which is actually using virtualenv 2017-12-02 23:16:17 +03:00
Foo
9d836d70e0 Use virtualenv for tmux and vshells tests as well 2017-12-02 19:25:01 +03:00
Foo
cee07a69b1 Always supply verb argument 2017-12-02 19:06:38 +03:00
Foo
2a01c4687e Supply segment_info to powerline.segments.env.user() segment in tests 2017-12-02 18:30:24 +03:00
Foo
b558d200fe Only shift if verb was supplied 2017-12-02 18:24:01 +03:00
Foo
1b0df9c2bd Wait for thread to start 2017-12-02 17:56:45 +03:00
Foo
0c594b0b34 Use verboser installation, check for installed powerline 2017-12-02 17:56:45 +03:00
Foo
d18b58821b Separate PyPy tests from old python tests in a different stage 2017-12-02 17:56:43 +03:00
Foo
436b4b680a Rename test_shell.py to test_shells.py 2017-12-02 17:56:43 +03:00
Foo
eb17b5374b Add some working dash tests 2017-12-02 17:56:41 +03:00
Foo
870de7be21 Improve terminal.py:
1. Make it print true color escape sequences when debugging.
2. Add support for automatic row detection.
2017-12-02 17:56:37 +03:00
Foo
6bbcb610c7 Make vterm UTF-8 2017-12-02 17:56:36 +03:00
Foo
3fca2f8d02 Add skip command, rename tests/failures to tests/status 2017-12-02 17:56:34 +03:00
Foo
96f9c62d86 Start creating shell vterm tests
Should replace #1448.
2017-12-02 17:56:33 +03:00
Foo
44e0a30b80 Ignore some files generated by tests 2017-12-02 17:56:32 +03:00
Foo
29d0a3c171 Remove “output is not to a terminal” from Vim output 2017-12-02 17:56:31 +03:00
Foo
cbea5357a9 Use different character for strwidth tests 2017-12-02 17:56:30 +03:00
Foo
eb5834cf3e Move version
I do not actually see this character in diff of EastAsianWidth.txt though, but 
it appears that test with 5.1.0 uses 2 and succeeds, tests with 6.0.0 and 8.0.0 
use 1 and succeed, but test with 5.2.0 uses 2 and fails.
2017-12-02 17:56:28 +03:00
Foo
335be73d3e Check unidata_version to determine width
Did not actually determine whether this check is correct.
2017-12-02 17:56:26 +03:00
Foo
b047abcd9a First call suite.fail, then super().fail 2017-12-02 17:56:24 +03:00
Foo
55d9c320dc Add missing import 2017-12-02 17:56:23 +03:00
Foo
0a1cf1780f Use better failure message 2017-12-02 17:56:22 +03:00
Foo
f111a95b0d Change width to 1
May make test fail on older Python’s
2017-12-02 17:56:21 +03:00
Foo
2787855008 Disable travis hack
Assuming it is outdated.
2017-12-02 17:56:19 +03:00
Foo
f0944f840e Make python tests also print to summary 2017-12-02 17:56:15 +03:00
Foo
2a4f76e4fa Also temporary allow pdp failures 2017-12-02 17:56:11 +03:00
Foo
45e148b3a0 Fix what attempts means for PowerlineTestSuite.test 2017-12-02 17:56:07 +03:00
Foo
0ad1d9be40 More granular failure reports in summary from vterm tests 2017-12-02 17:56:03 +03:00
Foo
468397b224 Split CI into stages 2017-12-02 17:56:00 +03:00
Foo
e71cc3e9ef Add python-3.6 to build matrix 2017-12-02 17:55:58 +03:00
Foo
783b56066f Use trusty for tests
Bot-ci was switched to it, better upgrade upstream tests then downgrade bot-ci.
2017-12-02 17:55:58 +03:00
Nikolai Aleksandrovich Pavlov
a4a1c83539
Merge pull request #1860 from bewing/wsl_battery
Check for battery percentage if no charge/energy
2017-11-25 00:34:15 +03:00
Brandon Ewing
6be991c571 Check for battery percentage if no charge/energy
Windows Subsystem for Linux abstracts the batteries in a laptop
into a single battery, and only states the percent charge via
/sys/power_supply/battery/capacity.  If dbus is unavailable,
and no charge/energy readings are available for any power supply,
search for the first power supply that has a capacity file, and use it
(and its state) as the battery status.

Tested on a Surface Book 2 running Windows 10 with  Windows
Subsytem for Linux Ubuntu 16.04
2017-11-24 15:03:30 -06:00
Nikolai Aleksandrovich Pavlov
5198b50463
Merge pull request #1851 from pmacosta/develop
Added Vim segment plugin for the Asynchronous Linter Engine (ALE)
2017-10-27 23:29:56 +03:00
Pablo Acosta-Serafini
421a71ee53 Brought back modeline and added spaces around plus signs 2017-10-27 08:44:47 -04:00
Pablo Acosta-Serafini
67683ecbb8 Introduced requested chanages 2017-10-24 04:40:03 -04:00
Pablo Acosta-Serafini
c8f361c9ca Added Vim segment plugin for the Asynchronous Linter Engine (ALE).
This segment has the same functionality and interface as the Syntastic
Vim segment plugin, and the code is largely adapted from it.
Documentation stub is also included
2017-10-23 13:28:16 -04:00
Nikolai Aleksandrovich Pavlov
119c709bf2 Merge pull request #1849 from hede/patch-1
Fixes typo in documentation
2017-10-15 14:30:55 +03:00
hede
d7cbeb9022 Typo fix
In the first paragraph: s/Presense/Presence of Python support in vim...
2017-10-15 13:59:49 +03:00
Nikolai Aleksandrovich Pavlov
9bebc2fe7f Merge pull request #1828 from powerline/ZyX-I-patch-1
Fix data type in branch segment documentation
2017-09-02 22:39:49 +03:00
Nikolai Aleksandrovich Pavlov
5adb7d11a3 Fix data type in branch segment documentation
Closes #1827
2017-09-02 22:39:28 +03:00
Nikolai Aleksandrovich Pavlov
5a24eceae9 Merge pull request #1823 from ZyX-I/ZyX-I-patch-1
Do not use negative indexes
2017-08-22 12:04:46 +03:00