Matěj Cepl 
							
						 
					 
					
						
						
							
						
						a8a38f3465 
					 
					
						
						
							
							test: Lua 5.2/5.3 compat  
						
						... 
						
						
						
						close  #9515 
ref #9280  
					
						2019-01-17 23:06:04 +01:00 
						 
				 
			
				
					
						
							
							
								Björn Linse 
							
						 
					 
					
						
						
							
						
						1f8afe15a4 
					 
					
						
						
							
							multigrid: add multigrid support to test infrastructure  
						
						... 
						
						
						
						make Screen explicitly tied to its session 
						
						
					 
					
						2018-12-31 12:44:22 +01:00 
						 
				 
			
				
					
						
							
							
								Justin M. Keyes 
							
						 
					 
					
						
						
							
						
						6e146d4132 
					 
					
						
						
							
							test: check_cores(): Fix tmp dir exclusion ( #9061 )  
						
						... 
						
						
						
						tmpdir_get() may be an absolute path, but we invoke glob() with
a relative `initial_path`.
That can lead to this error:
    [  ERROR   ] test/functional/helpers.lua @ 752: after_each
    test/helpers.lua:95: cannot open ./Xtest-tmpdir/nvim8jKCjR: No such file or directory
    stack traceback:
            test/helpers.lua:95: in function 'glob'
            test/helpers.lua:273: in function 'check_cores'
            test/functional/helpers.lua:757: in function <test/functional/helpers.lua:752> 
						
						
					 
					
						2018-09-28 08:58:22 +02:00 
						 
				 
			
				
					
						
							
							
								Justin M. Keyes 
							
						 
					 
					
						
						
							
						
						990c147de3 
					 
					
						
						
							
							test: Do not load entire log-file into memory  
						
						... 
						
						
						
						With DEBUG-level logging, after `make test`, log file could be 1+ GB. 
						
						
					 
					
						2018-09-23 15:58:02 +02:00 
						 
				 
			
				
					
						
							
							
								Justin M. Keyes 
							
						 
					 
					
						
						
							
						
						acdede50ce 
					 
					
						
						
							
							test: Dump $NVIM_LOG_FILE contents ( #8926 )  
						
						... 
						
						
						
						Do this at the test-framework level instead of CI (Travis) scripts.
Then it works for QuickBuild and AppVeyor.
ref eb6dd3e42d 
						
						
					 
					
						2018-08-28 22:13:34 +02:00 
						 
				 
			
				
					
						
							
							
								Björn Linse 
							
						 
					 
					
						
						
							
						
						3d88287e30 
					 
					
						
						
							
							tests: introduce screen:expect{...} form  
						
						
						
						
					 
					
						2018-08-27 15:15:49 +02:00 
						 
				 
			
				
					
						
							
							
								Marcos Almeida 
							
						 
					 
					
						
						
							
						
						a2253744c9 
					 
					
						
						
							
							system(): handle profiling and 'verbose'  #8730  
						
						... 
						
						
						
						closes  #8362 
Vim's code calls `call_shell` directly from `get_system_output_as_rettv`
whereas in Nvim this function has been rewritten to not call `call_shell` but to call
`os_system` via `do_os_system`, losing the support for profiling and verbose.
Changing the code to call `call_shell` from `get_system_output_as_rettv`
seems to be too complicated to be worth it on the current version of the
code. So this commit duplicates the relevant code. 
					
						2018-07-29 03:49:11 +02:00 
						 
				 
			
				
					
						
							
							
								Jan Edmund Lazo 
							
						 
					 
					
						
						
							
						
						6ffcc2b800 
					 
					
						
						
							
							fixup: exclude node_modules/ for crash detection  
						
						... 
						
						
						
						node.js client uses lodash which has core.js. 
						
						
					 
					
						2018-06-05 07:33:26 -04:00 
						 
				 
			
				
					
						
							
							
								Justin M. Keyes 
							
						 
					 
					
						
						
							
						
						d6a1640260 
					 
					
						
						
							
							test/util: move general functions into global helpers  
						
						
						
						
					 
					
						2018-04-27 13:06:41 +02:00 
						 
				 
			
				
					
						
							
							
								b-r-o-c-k 
							
						 
					 
					
						
						
							
						
						ad999eaa77 
					 
					
						
						
							
							Merge branch 'master' into s-dash-stdin  
						
						
						
						
					 
					
						2018-04-14 14:17:51 -05:00 
						 
				 
			
				
					
						
							
							
								Justin M. Keyes 
							
						 
					 
					
						
						
							
						
						87f4d2592c 
					 
					
						
						
							
							test/util: expect_err() ( #8257 )  
						
						... 
						
						
						
						other cleanup, ref #8245  
						
						
					 
					
						2018-04-11 22:07:00 +02:00 
						 
				 
			
				
					
						
							
							
								Justin M. Keyes 
							
						 
					 
					
						
						
							
						
						b11b681289 
					 
					
						
						
							
							test/util: matches()  
						
						
						
						
					 
					
						2018-04-11 01:58:41 +02:00 
						 
				 
			
				
					
						
							
							
								ZyX 
							
						 
					 
					
						
						
							
						
						920c582320 
					 
					
						
						
							
							test/helpers: Support booleans  
						
						
						
						
					 
					
						2018-03-27 01:35:21 +03:00 
						 
				 
			
				
					
						
							
							
								Justin M. Keyes 
							
						 
					 
					
						
						
							
						
						7973847d02 
					 
					
						
						
							
							test/util: remove eq_any()  
						
						... 
						
						
						
						It was added in the parent commit, but ended up not being used. And
I can't think of a case where it will be used: instead we would probably
want to generalize expect_msg_seq() if necessary. 
						
						
					 
					
						2018-02-18 19:22:44 +01:00 
						 
				 
			
				
					
						
							
							
								Justin M. Keyes 
							
						 
					 
					
						
						
							
						
						e72ecdb7ca 
					 
					
						
						
							
							test/util: expect_msg_seq()  
						
						... 
						
						
						
						job_spec.lua on AppVeyor (Windows) often fails like this:
      FAILED  ] C:/projects/neovim/test/functional\core\job_spec.lua @ 72: jobs changes to given `cwd` directory
    C:/projects/neovim/test/functional\core\job_spec.lua:81: Expected objects to be the same.
    Passed in:
    (table) {
      [1] = 'notification'
      [2] = 'stdout'
     *[3] = {
        [1] = 0
       *[2] = {
          [1] = 'C:\projects\neovim\Xtest-tmpdir\nvimmSjq1S\0' } } }
    Expected:
    (table) {
      [1] = 'notification'
      [2] = 'stdout'
     *[3] = {
        [1] = 0
       *[2] = {
          [1] = 'C:\projects\neovim\Xtest-tmpdir\nvimmSjq1S\0'
         *[2] = '' } } }
    stack traceback:
Message chunking is non-deterministic, so we need to try different
variants. 
						
						
					 
					
						2018-02-18 19:19:03 +01:00 
						 
				 
			
				
					
						
							
							
								James McCoy 
							
						 
					 
					
						
						
							
						
						de10ea55f3 
					 
					
						
						
							
							lint  
						
						
						
						
					 
					
						2018-02-03 22:19:08 -05:00 
						 
				 
			
				
					
						
							
							
								ZyX 
							
						 
					 
					
						
						
							
						
						2316a38dd1 
					 
					
						
						
							
							tests: Make format_string('%q', ...) output more stable  
						
						... 
						
						
						
						It appears to be different on lua and luajit. 
						
						
					 
					
						2018-02-02 07:28:56 -05:00 
						 
				 
			
				
					
						
							
							
								ZyX 
							
						 
					 
					
						
						
							
						
						fbdc3ac4ef 
					 
					
						
						
							
							tests: Fix linter errors  
						
						
						
						
					 
					
						2017-12-03 20:22:09 +03:00 
						 
				 
			
				
					
						
							
							
								ZyX 
							
						 
					 
					
						
						
							
						
						c49e22d396 
					 
					
						
						
							
							Merge branch 'master' into s-dash-stdin  
						
						
						
						
					 
					
						2017-12-03 16:49:30 +03:00 
						 
				 
			
				
					
						
							
							
								ZyX 
							
						 
					 
					
						
						
							
						
						b9c7813058 
					 
					
						
						
							
							Merge branch 'master' into expression-parser  
						
						
						
						
					 
					
						2017-11-26 15:54:03 +03:00 
						 
				 
			
				
					
						
							
							
								Björn Linse 
							
						 
					 
					
						
						
							
						
						753d0091e8 
					 
					
						
						
							
							core dumps: don't use pipe, it does not work  
						
						
						
						
					 
					
						2017-11-25 09:37:00 +01:00 
						 
				 
			
				
					
						
							
							
								ZyX 
							
						 
					 
					
						
						
							
						
						ebb33eddd9 
					 
					
						
						
							
							tests: Stabilize float format and %e in format_luav and format_string  
						
						
						
						
					 
					
						2017-11-19 22:00:59 +03:00 
						 
				 
			
				
					
						
							
							
								ZyX 
							
						 
					 
					
						
						
							
						
						f20f97c936 
					 
					
						
						
							
							*: Fix linter errors  
						
						
						
						
					 
					
						2017-11-19 21:13:27 +03:00 
						 
				 
			
				
					
						
							
							
								ZyX 
							
						 
					 
					
						
						
							
						
						342239a9c5 
					 
					
						
						
							
							unittests,viml/parser/expressions: Start adding asgn parsing tests  
						
						
						
						
					 
					
						2017-11-13 01:11:13 +03:00 
						 
				 
			
				
					
						
							
							
								ZyX 
							
						 
					 
					
						
						
							
						
						39c75d31be 
					 
					
						
						
							
							unittests: Fix automatic test case generation  
						
						
						
						
					 
					
						2017-11-13 01:11:13 +03:00 
						 
				 
			
				
					
						
							
							
								ZyX 
							
						 
					 
					
						
						
							
						
						4aebd00a9e 
					 
					
						
						
							
							*: Fix linter errors  
						
						
						
						
					 
					
						2017-11-06 20:28:37 +03:00 
						 
				 
			
				
					
						
							
							
								ZyX 
							
						 
					 
					
						
						
							
						
						42959d0e8f 
					 
					
						
						
							
							unittests: Add tests for vim_str2nr  
						
						
						
						
					 
					
						2017-11-06 20:15:05 +03:00 
						 
				 
			
				
					
						
							
							
								ZyX 
							
						 
					 
					
						
						
							
						
						7849070f99 
					 
					
						
						
							
							tests: Add missing test cases  
						
						
						
						
					 
					
						2017-11-06 01:17:39 +03:00 
						 
				 
			
				
					
						
							
							
								ZyX 
							
						 
					 
					
						
						
							
						
						7bc6de7526 
					 
					
						
						
							
							api/vim,functests: Add tests for nvim_parse_expression, fix found bugs  
						
						
						
						
					 
					
						2017-11-06 01:17:39 +03:00 
						 
				 
			
				
					
						
							
							
								ZyX 
							
						 
					 
					
						
						
							
						
						3ecb95298f 
					 
					
						
						
							
							tests: Fix testlint errors  
						
						
						
						
					 
					
						2017-11-06 01:17:37 +03:00 
						 
				 
			
				
					
						
							
							
								ZyX 
							
						 
					 
					
						
						
							
						
						6c19cbef26 
					 
					
						
						
							
							viml/parser/expressions,tests: Add AST freeing, with sanity checks  
						
						
						
						
					 
					
						2017-10-15 20:05:35 +03:00 
						 
				 
			
				
					
						
							
							
								ZyX 
							
						 
					 
					
						
						
							
						
						c286155bfa 
					 
					
						
						
							
							viml/parser/expressions: Create tests for latest additions  
						
						
						
						
					 
					
						2017-10-15 19:13:52 +03:00 
						 
				 
			
				
					
						
							
							
								ZyX 
							
						 
					 
					
						
						
							
						
						af38cea133 
					 
					
						
						
							
							viml/parser/expressions: Add support for string parsing  
						
						
						
						
					 
					
						2017-10-15 19:13:52 +03:00 
						 
				 
			
				
					
						
							
							
								ZyX 
							
						 
					 
					
						
						
							
						
						520c0b91a5 
					 
					
						
						
							
							test/helpers: Add format_string and format_luav  
						
						... 
						
						
						
						First intended to provide %r functionality like in Python (and also support for 
%*.*s, but this was not checked), second adds nice table formatting for use in 
cases similar to screen:snapshot_util(). 
						
						
					 
					
						2017-09-29 01:21:07 +03:00 
						 
				 
			
				
					
						
							
							
								ZyX 
							
						 
					 
					
						
						
							
						
						607dc3e0f9 
					 
					
						
						
							
							functests: Add tests  
						
						
						
						
					 
					
						2017-06-21 10:58:47 +03:00 
						 
				 
			
				
					
						
							
							
								ZyX 
							
						 
					 
					
						
						
							
						
						09f849b600 
					 
					
						
						
							
							Merge branch 'master' into luaviml'/lua  
						
						
						
						
					 
					
						2017-05-08 15:43:45 +03:00 
						 
				 
			
				
					
						
							
							
								Justin M. Keyes 
							
						 
					 
					
						
						
							
						
						58d2ce9bdb 
					 
					
						
						
							
							test: check_cores(): Escape $TMPDIR path. ( #6520 )  
						
						... 
						
						
						
						Lua string:match() considers hyphen to be a special char, we want the
path to be a literal match. Also remove "./", etc.
References #6483  
						
						
					 
					
						2017-04-14 20:34:54 +02:00 
						 
				 
			
				
					
						
							
							
								ZyX 
							
						 
					 
					
						
						
							
						
						ab4d13e2fa 
					 
					
						
						
							
							Merge branch 'master' into luaviml'/lua  
						
						
						
						
					 
					
						2017-04-10 22:21:06 +03:00 
						 
				 
			
				
					
						
							
							
								Justin M. Keyes 
							
						 
					 
					
						
						
							
						
						26bf6e6f6f 
					 
					
						
						
							
							test/check_cores(): Skip workspace-local temp dir. ( #6483 )  
						
						... 
						
						
						
						Avoids this error:
    ./test/helpers.lua:27: cannot open ./Xtest-tmpdir/nvimfqH9dL: No such file or directory
    stack traceback:
        ./test/helpers.lua:27: in function 'glob'
        ./test/helpers.lua:195: in function 'check_cores'
        ./test/functional/helpers.lua:628: in function <./test/functional/helpers.lua:626> 
						
						
					 
					
						2017-04-09 15:49:31 +02:00 
						 
				 
			
				
					
						
							
							
								ZyX 
							
						 
					 
					
						
						
							
						
						a83511d1a1 
					 
					
						
						
							
							unittests: Move checking cores to check_child_err  
						
						
						
						
					 
					
						2017-04-08 04:48:58 +03:00 
						 
				 
			
				
					
						
							
							
								ZyX 
							
						 
					 
					
						
						
							
						
						043d8ff9f2 
					 
					
						
						
							
							Merge branch 'master' into luaviml'/lua  
						
						
						
						
					 
					
						2017-04-08 01:54:58 +03:00 
						 
				 
			
				
					
						
							
							
								ZyX 
							
						 
					 
					
						
						
							
						
						9dd0d4f8b9 
					 
					
						
						
							
							unittests: Add trace description right to the error message  
						
						
						
						
					 
					
						2017-04-01 12:52:28 +03:00 
						 
				 
			
				
					
						
							
							
								Justin M. Keyes 
							
						 
					 
					
						
						
							
						
						1ea9ebf112 
					 
					
						
						
							
							test: Use workspace-local temp directory.  
						
						... 
						
						
						
						Closes  #6291  
					
						2017-03-30 02:55:00 +02:00 
						 
				 
			
				
					
						
							
							
								ZyX 
							
						 
					 
					
						
						
							
						
						ffaf7c7521 
					 
					
						
						
							
							unittests: Add tv_dict_item_{alloc,free} tests  
						
						
						
						
					 
					
						2017-03-29 10:08:45 +03:00 
						 
				 
			
				
					
						
							
							
								ZyX 
							
						 
					 
					
						
						
							
						
						a3ea05c1e5 
					 
					
						
						
							
							functests: Add some tests  
						
						
						
						
					 
					
						2017-03-27 00:12:22 +03:00 
						 
				 
			
				
					
						
							
							
								ZyX 
							
						 
					 
					
						
						
							
						
						3cd7bf31e2 
					 
					
						
						
							
							tests: Fix repeated_popen_r usage, rename the function  
						
						
						
						
					 
					
						2017-03-19 14:13:21 +03:00 
						 
				 
			
				
					
						
							
							
								ZyX 
							
						 
					 
					
						
						
							
						
						0e9286a19e 
					 
					
						
						
							
							tests: Fix CI failures  
						
						
						
						
					 
					
						2017-03-19 14:13:21 +03:00 
						 
				 
			
				
					
						
							
							
								ZyX 
							
						 
					 
					
						
						
							
						
						0320a58082 
					 
					
						
						
							
							functests: Check that -s works as expected  
						
						
						
						
					 
					
						2017-03-19 14:13:21 +03:00 
						 
				 
			
				
					
						
							
							
								ZyX 
							
						 
					 
					
						
						
							
						
						9d1b439fb7 
					 
					
						
						
							
							tests: Allow lfs.attributes to be NULL when traversing FS  
						
						
						
						
					 
					
						2017-03-12 00:25:55 +03:00 
						 
				 
			
				
					
						
							
							
								ZyX 
							
						 
					 
					
						
						
							
						
						ec730daee9 
					 
					
						
						
							
							unittests: Do not use which, add data to paths.lua.in instead  
						
						
						
						
					 
					
						2017-03-11 23:23:50 +03:00