summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2017-01-18test/vim: use macro count specifier where appropriateMarc André Tanner
2017-01-13test/sam: add test for new grouping semanticsMarc André Tanner
The more idomatic ,x/[a-zA-Z]+/{ g/Emacs/ v/....../ c/vi/ g/vi/ v/.../ c/Emacs/ } does not seem to work on the sam version from 9base as shipped by Ubuntu 12.04 LTS and used in the Travis environment.
2017-01-13test: change existing tests to avoid substitute commandMarc André Tanner
2017-01-13test/vim: tweak test to not rely on only first substitutionMarc André Tanner
Now that :s/foo/bar/ is implemented in terms of :x/foo/c/bar/ all occurences of foo will be replaced not just the first one.
2017-01-13test/vis: tweak structural regex tests to take new selection into accountMarc André Tanner
2017-01-12tests: make :help output actually visibleMarc André Tanner
The problem is that :qall in the win open event would immediately close the window before anyting gets executed.
2017-01-12test/sam: adapt tests to new grouping semanticsMarc André Tanner
2017-01-07test/core: add some more buffer testsMarc André Tanner
2017-01-07test/sam: work around bug of 9base sam as shipped by Ubuntu 12.04Marc André Tanner
For some reason this sam version does match nothing for: /[a-zA-Z]+/ This should finally fix the Travis failure for Linux builds.
2017-01-05test/sam: use smaller file for filter test caseMarc André Tanner
The old test case invoked tr(1) about 485 times which might be the reason for the test failure of the Travis Linux builds.
2016-12-30test/sam: try to fix travis list outputMarc André Tanner
2016-12-30Revert "Make sure that info messages are printed before test case is run"Marc André Tanner
This reverts commit 8a366cebda597e960f1f49e245785f8fdedff0a6. Travis is strange.
2016-12-29test/core: add tests for map_{first, prefix_delete}Marc André Tanner
2016-12-28Make sure that info messages are printed before test case is runMarc André Tanner
Useful for hanging tests also redirect stdout to /dev/null for better output on Travis.
2016-12-28test/core: make tap.h replacement output work outside of tis-interpreterMarc André Tanner
2016-12-27test/core: add some array_remove test casesMarc André Tanner
2016-12-22test/core: reorder test casesMarc André Tanner
Run text test cases last. They are the most complex ones and a failure prevents the others from running.
2016-12-22test/core: add make {a,ub}san targetsMarc André Tanner
2016-12-22test/core: add make valgrind targetMarc André Tanner
2016-12-22test/core: use smaller buffer/block sizes to force more memory allocationsMarc André Tanner
2016-12-22test/core: tweak tests to work with tis-interpreterMarc André Tanner
$ tis-inertpreter.sh --cc "-I. -I../.." text.c ../../text.c or more conveniently $ make tis
2016-12-21test/core: make core tests asan cleanMarc André Tanner
2016-12-20test/core: cleanup and add formatted related buffer testsMarc André Tanner
2016-12-19test: ignore custom visrc.lua configurationMarc André Tanner
2016-12-17test/vis: add some insert mode mapping regression testsMarc André Tanner
2016-12-16test/core: update .gitignore with coverage related filesMarc André Tanner
2016-12-16test/core: add code coverage instrumentationMarc André Tanner
2016-12-16text/core: add some mark related testsMarc André Tanner
2016-12-16text/core: fix make debug and related warningsMarc André Tanner
2016-12-08test/lua: update to changes in Lua APIMarc André Tanner
2016-11-21test/sam: use our own implementation of ssam(1)Marc André Tanner
The ssam(1) rc script is seamingly not part of earlier 9base packages and the homebrew version is by default unusable due to a broken shebang line. Also improve sam(1) detection: check default binary location as used by the Debian package.
2016-11-21test/sam: apply commands to complete fileMarc André Tanner
2016-11-19test/vim: add a few tests for registersMarc André Tanner
2016-11-19test/vim: fixup some of the previously broken testsMarc André Tanner
2016-11-19test/sam: try to fall back to `9 ssam` if ssam is not foundMarc André Tanner
2016-11-19test/vim: add some hints for possible test authorsMarc André Tanner
2016-11-17test/vim: redirect both stdout and stderr to /dev/nullMarc André Tanner
This should make the list of tests more readable.
2016-11-17test: use :qall! to terminate testsMarc André Tanner
This should make sure that vis always terminates and never hangs waiting for further input. Lua errors in particular cause a new window/file to be displayed showing a detailed error message. Previously only this internal file was closed but the original file remained open and prevented vis from exiting.
2016-11-17test/vim: ignore user supplied visrc.luaMarc André Tanner
Custom key bindings might interfere with the tests.
2016-11-17test/vim: remove trailing white spaces after pre-processing keys fileMarc André Tanner
Analogous to the previous commit.
2016-11-17test/vis: remove trailing white spaces after pre-processing keys fileMarc André Tanner
Using cpp(1) to remove comments might not have been the best idea, some versions of clang leave trailing white space intact whereas gcc removes them. These trailing spaces were wrongly interpreted as <Space> input. This hopefully fixes the tests on Mac OS X.
2016-11-16test/vis: convert vis specific tests to use the Lua APIMarc André Tanner
Instead of using the keys utility to convert the textual key representation into something a terminal would send and then pipe it to vis' standard input use the Lua API to directly feed the keys into vis' input queue. This has a number of advantages: - it is less fragile: the keys utility is incomplete and only handles the most common keys - it is faster because there is no need to artificially delay input after an <Escape> key to give vis a chance to distinguish between a single <Escape> and the start of an escape sequence
2016-11-16test: remove travis CI integrationMarc André Tanner
Instead we will only run the desired tests from .travis.yml.
2016-11-16test/lua: redirect stdin and stderr to /dev/nullMarc André Tanner
Redirecting stdin mimics the environment on Travis CI. Redirecting stderr should give a nicer test list output, albeit some useful messages might get lost.
2016-11-15test/lua: make tests more robust, print Lua include pathsMarc André Tanner
2016-11-13test/lua: build vis binary if necessaryMarc André Tanner
2016-11-13test/lua: print :help output and distinguish between fail/errorMarc André Tanner
2016-11-11test/lua: adapt to different line ending type returned by Lua APIMarc André Tanner
2016-11-11test/sam: few new testsMarc André Tanner
2016-11-09test/vim: test cancelation of `r` commandMarc André Tanner