neovim/cmake
Thiago de Arruda 1ee7ca7bc0 test: Improve functional test debuggability and efficiency
- Read TEST_TAG/TEST_FILTER env vars from cmake/RunTests.cmake. Setting these
  environment variables will pass --tags/--filter to busted, which can used to
  filter which tests are executed.
- Remove calls to nvim msgpack-rpc API outside tests. This removes the
  requirement of having a static `clear` call in test/functional/helpers.lua
- Use the new busted command-line option "--lazy" to ensure the setup/teardown
  hooks are only executed when a suite runs at least one test.

Now its possible to run/debug a single test like this:

```sh
TEST_FILTER='some test string' make test
```

Which will only run tests containing "some test string" in the title.
Another option is:

```sh
TEST_TAG=some-tag make test
```

After putting #some-tag into the test title. This also improves debugging
experience because there will be no unnecessary gdbserver instances whe GDB=1 is
passed.
2015-03-24 12:46:15 -03:00
..
ConvertPo.cmake Move po generation from Make to CMake. 2014-07-17 07:16:53 -04:00
FindIconv.cmake build: pull iconv detection into its own FindIconv.cmake file 2014-11-08 16:22:35 -05:00
FindLibIntl.cmake Fix #1484: search gettext subdir for header 2014-11-17 19:31:48 -05:00
FindLibTermkey.cmake deps: Remove libtickit as a project dependency 2015-02-11 12:40:50 -03:00
FindLibUnibilium.cmake deps: Remove libtickit as a project dependency 2015-02-11 12:40:50 -03:00
FindLibUV.cmake build: filter off libuv from PC_LIBUV_LIBRARIES 2015-02-24 14:01:25 -05:00
FindLibVterm.cmake deps: Add libvterm to the project dependencies 2015-02-28 10:41:53 -03:00
FindLuaJit.cmake build: fix a typo in a comment of FindLuaJit.cmake 2014-12-02 18:44:15 -05:00
FindMsgpack.cmake deps: Update to the experimental msgpack v5 branch 2014-09-12 13:19:50 -03:00
GenerateHelptags.cmake build: add failure message along with number in GenerateHelptags.cmake 2014-11-25 19:31:11 -05:00
GetCompileFlags.cmake version: Add compilation info. 2014-11-09 18:34:57 +01:00
GetGitRevisionDescription.cmake build: only manipulate out if getting the timestamp was successful 2014-12-03 04:56:50 -05:00
GetGitRevisionDescription.cmake.in version: report commit hash as "build number" in long version string 2014-10-07 10:03:14 +00:00
i386-linux-gnu.toolchain.cmake Configure travis to perform a 32-bit build 2014-04-22 21:55:59 -03:00
InstallHelpers.cmake build: allow installing into the root directory (/) 2014-11-09 17:48:19 -05:00
LibFindMacros.cmake add LibFindMacros CMake macro library 2014-02-26 07:08:26 -03:00
LuaHelpers.cmake Refactor the lua dependency checking. 2014-07-11 19:28:54 -04:00
RunLint.cmake Linting: Integrate into CMake, enable by default. 2014-12-24 00:32:26 -05:00
RunMsgfmt.cmake Move po generation from Make to CMake. 2014-07-17 07:16:53 -04:00
RunMsgmerge.cmake Move po generation from Make to CMake. 2014-07-17 07:16:53 -04:00
RunTests.cmake test: Improve functional test debuggability and efficiency 2015-03-24 12:46:15 -03:00
RunXgettext.cmake Move po generation from Make to CMake. 2014-07-17 07:16:53 -04:00