aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
| * | channel: Delay notifications to avoid client race conditionsThiago de Arruda2014-11-06
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It is currently possible for a client to send a response that doesn't match the current server->client request(at the top of the stack). This commit fixes that by delaying notifications to until the first `channel_send_call` invocation returns. Also remove the "call stack" size check, vim will already break if the call stack goes too deep.
| * | test: Add more valgrind "possibly lost" suppressionsThiago de Arruda2014-11-06
| | | | | | | | | | | | These valgrind entries are false positives because vim uses interior pointers.
| * | test: Simplify/fix options_spec.luaThiago de Arruda2014-11-06
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The options_spec.lua suite has one purpose: Check if the :options commands will throw any exception(:options is implemented by $VIMRUNTIME/optwin.vim). For this it is best to use the `vim_command` API function since it will automatically catch exceptions and forward them via msgpack-rpc. Also, the option window seems to affect other tests, so call `restart` in the teardown hook.
| * | test: Set VIMRUNTIME before running testsThiago de Arruda2014-11-05
|/ / | | | | | | This is required for testing scripts under the 'runtime' directory
* | Merge pull request #1397 from fwalch/fix-test_fileJohn Szakmeister2014-11-05
|\ \ | |/ |/| Restore TEST_FILE functionality for running individual tests.
| * CMake: Fix running individual (functional/unit) test.Florian Walch2014-11-05
|/
* Merge pull request #1395 from jszakmeister/fix-run-functional-testsJohn Szakmeister2014-11-05
|\ | | | | build: fix running of functional tests directly with CMake
| * build: fix running of functional tests directly with CMakeJohn Szakmeister2014-11-05
|/ | | | | | | If you aren't just building everything into build/, then the functional tests fail because they can't find the nvim executable. Let's pass in the location of the nvim executable, and set NVIM_PRG environment variable accordingly.
* Merge pull request #1392 from fwalch/fix-build-warningsJohn Szakmeister2014-11-05
|\ | | | | Fix build warnings.
| * CMake: Rename target "test" to "functionaltest".Florian Walch2014-11-05
| | | | | | | | | | | | | | | | Remove build warning: The target name "test" is reserved or not valid for certain CMake features, such as generator expressions, and may result in undefined behavior.
| * CMake: Modify _FORTIFY_SOURCE only for release builds.Florian Walch2014-11-05
| | | | | | | | | | | | Remove build warning for Debug builds: # warning _FORTIFY_SOURCE requires compiling with optimization (-O)
| * CMake: Pass build type CFLAGS to header generator.Florian Walch2014-11-05
|/
* Merge pull request #1390 from jszakmeister/turn-down-fortify-sourceJohn Szakmeister2014-11-05
|\ | | | | build: turn down the _FORTIFY_SOURCE level on gcc >= 4.0
| * build: turn down the _FORTIFY_SOURCE level on gcc >= 4.0John Szakmeister2014-11-05
|/
* Merge PR #1328 'Migrate legacy tests'Thiago de Arruda2014-11-04
|\
| * legacy tests: migrate test21Rainer Borene2014-11-04
| |
| * legacy tests: migrate test7Rainer Borene2014-11-04
| |
| * legacy tests: migrate test6Rainer Borene2014-11-04
| |
| * legacy tests: migrate test28Rainer Borene2014-11-04
| |
| * legacy tests: migrate test20Rainer Borene2014-11-04
| |
| * legacy tests: migrate test97Rainer Borene2014-11-04
| |
| * legacy tests: migrate test46Rainer Borene2014-11-04
| |
| * legacy tests: migrate test27Rainer Borene2014-11-04
| |
| * legacy tests: migrate test54Rainer Borene2014-11-04
| |
| * legacy tests: migrate test41Rainer Borene2014-11-04
| |
| * legacy tests: migrate test23Rainer Borene2014-11-04
| |
| * legacy tests: migrate test56Rainer Borene2014-11-04
| |
| * legacy tests: migrate test_autoformat_joinRainer Borene2014-11-04
| |
| * legacy tests: migrate test_changelistRainer Borene2014-11-04
| |
| * legacy tests: migrate test81Rainer Borene2014-11-04
| |
| * legacy tests: migrate test_utf8Rainer Borene2014-11-04
| |
| * legacy tests: migrate test_insertcountRainer Borene2014-11-04
| |
| * legacy tests: migrate test_optionsRainer Borene2014-11-04
| |
| * legacy tests: migrate test18Rainer Borene2014-11-04
| |
| * legacy tests: migrate test106Rainer Borene2014-11-04
| |
| * legacy tests: migrate test22Rainer Borene2014-11-04
| |
| * legacy tests: migrate test9Rainer Borene2014-11-04
| |
| * legacy tests: migrate test102Rainer Borene2014-11-04
| |
| * legacy tests: migrate test4Rainer Borene2014-11-04
| |
| * legacy tests: improvements to functional helpers.luaRainer Borene2014-11-04
|/ | | | | | - Clean vim registers and functions before each test - Add eval workaround to the request helper method - Export dedent method
* Merge pull request #1287 '[RFC] Add legacy test conversion script.'Thiago de Arruda2014-11-04
|\
| * Add legacy test conversion script.Florian Walch2014-11-04
|/
* Merge pull request #1376 '[RDY] Passing current range to provider calls'Thiago de Arruda2014-11-04
|\
| * Passing current range to provider callshenadzit2014-11-04
|/ | | | - updated script_host_execute and script_host_execute_file to pass current range
* Merge PR #1384 'Add core dump reporting to travis'Thiago de Arruda2014-11-03
|\
| * test: Add valgrind suppression for libuv memory leakThiago de Arruda2014-11-03
| | | | | | | | | | | | | | | | | | A memory leak happens in uv_spawn when stdio is set to UV_IGNORE and the child process fails to start. This only happens when libuv is compiled with gcc and optimizations enabled(the default). Compiling with '-O0' removes the leak, but all that can be done right now is ignore the leak by adding a valgrind suppression.
| * event: Assert that all libuv handles are closed on exit.Thiago de Arruda2014-11-03
| | | | | | | | | | Travis build will now fail when core files are dumped, so call `abort()` when the event loop is not fully released before exiting.
| * channel: Move mch_exit(0) call to a non-deferred event handlerThiago de Arruda2014-11-03
| | | | | | | | | | Since `mch_exit` will re-enter event_poll, it is necessary to call it outside libuv event loop.
| * event: Do an early return from event_teardown when not initializedThiago de Arruda2014-11-03
| |
| * travis: Test `nvim --version` in gcc buildThiago de Arruda2014-11-03
| | | | | | | | | | | | The --version flag drives Nvim to take a different code path, which is worth testing. Now we do it in the "gcc" ci target(It will only fail if the exit code is different than 0)