Commit Graph

37 Commits

Author SHA1 Message Date
Maxime Coste
01417471b9 Change the test session name to avoid hitting the unix socket path length limit
On travis-ci, it seems the combination of a set TMPDIR and long sessions names
makes the test framework hit the path lenght limit.
2016-12-16 19:49:39 +00:00
Maxime Coste
fef37e6a92 Do not preserve registers by default when exec/eval in a non draft context
Fixes #700
2016-06-20 19:40:49 +01:00
Maxime Coste
63ac752916 Improve test script 2016-05-10 13:51:00 +01:00
Maxime Coste
1160c51dc4 Improve test runscript to avoid false positives when an output is not generated 2016-05-10 13:43:19 +01:00
Maxime Coste
39762f0cf0 preserve diff leading whitespaces when displayin them in the test runner 2016-05-10 09:38:47 +01:00
Maxime Coste
d3bcf8c21e Fix handling of expected to fail tests 2016-04-27 09:48:35 +01:00
Maxime Coste
8cae7097f4 Fix test runner use of sed -r 2016-04-27 09:47:49 +01:00
Maxime Coste
544ec7e385 Update test run script, was not writing test name in some cases 2016-03-17 11:37:35 +00:00
Maxime Coste
79782fb903 Do not use echo -n in test runner, -n is not standard 2016-03-08 23:55:15 +00:00
Maxime Coste
ead6865350 Add an initial highlighting test 2016-03-08 13:42:27 +00:00
Maxime Coste
114f9c876d Detect if the debug buffer exists before displaying it in test runner 2016-03-08 00:25:14 +00:00
Maxime Coste
4d4f18a78a Select ui at launch through the -ui <ui_name> switch 2016-03-07 21:44:50 +00:00
Maxime Coste
24d4ee870f Fix test runner to consider Kakoune returning non 0 as a failure 2016-03-03 13:57:46 +00:00
Frank LENORMAND
bc3d04f111 Fix populating the stderr file, strip the coordinates of the error from it 2015-12-15 11:13:04 +03:00
Frank LENORMAND
6129f1b049 Adapt the changes to a smarter way of testing kak for failures 2015-12-14 15:35:23 +03:00
Frank LENORMAND
d63238ed9d Allow unit tests to test for errors. 2015-12-12 12:06:16 +03:00
Enrico Lumetti
62f73b6a7c Display unit tests in alphabetical order 2015-12-07 16:40:18 +01:00
Maxime Coste
20bd4173e2 Support auto disabling of unit tests with an optional enabled script
Restore the unicode test case using that.
2015-11-16 21:17:23 +00:00
Maxime Coste
832e9155fa Code cleanup in the test running script 2015-10-17 11:33:09 +01:00
Maxime Coste
70dfb4ba6b Fix test handling of ' and rotate-content test 2015-06-21 19:36:53 +01:00
Maxime Coste
8afa71d965 Fix test script return value check to be more POSIX compliant 2015-05-26 19:30:02 +01:00
Maxime Coste
dfd6182bbb Test suite shows something when kakoune exit code is not 0 2015-05-20 20:09:00 +01:00
Maxime Coste
7eaa6976b9 Use a dummy UI when running tests, so that we do not need a tty 2015-03-24 13:14:02 +00:00
Maxime Coste
dbd7bd41bb Try to improve test run script with osx 2014-12-15 13:42:48 +00:00
Maxime Coste
f22c95439f Return the number of failed tests so that failure gets propagated 2014-12-13 13:11:38 +00:00
Maxime Coste
c148966ebb Tweak test run script 2014-12-11 13:43:10 +00:00
Maxime Coste
ea063fd2ef Fix use of mktemp in test script 2014-12-10 19:33:09 +00:00
Maxime Coste
fd84ad5adf Use mktemp -d rather than --directory to fix the test script on osx 2014-12-09 21:07:27 +00:00
Maxime Coste
ab640f9fbf Tweak the way we set initial text in testing framework 2014-11-22 21:20:29 +00:00
Maxime Coste
95d36b95db Do not rely on kak being in path in test run script 2014-11-21 13:57:28 +00:00
Maxime Coste
ec09fc3a75 Optimize the test run script 2014-10-28 23:28:10 +00:00
Maxime Coste
a482b1f8d8 Make the test/run script work in a posix shell
Fixes #234
2014-10-27 13:19:23 +00:00
Maxime Coste
ff27b385d2 Refactor the unit test run script to be more idiomatic shell 2014-10-12 12:27:22 +01:00
Maxime Coste
f096417a75 various small fixes in unit test script 2014-10-11 19:50:20 +01:00
Maxime Coste
709635c20b Display debug buffer on failed test cases 2014-10-11 15:52:24 +01:00
Maxime Coste
cd0aeefa81 Commit undo group after removign initial selection markers in testing script 2014-10-09 19:04:36 +01:00
Alex Leferry 2
d20d43bf36 add testing framework 2014-06-30 12:22:50 +02:00