neovim/test/functional
Rui Abreu Ferreira 9ce81f7b2b functionaltest: Create lua helper for os.tmpname()
In Windows Lua's os.tmpname() returns relative paths starting with \s,
prepend them with $TEMP to generate a valid path.

In OS X os.tmpname() returns paths in '/tmp' but they should be in
'/private/tmp'. We cannot use os_name() for platform detection because
some tests use tempname() before nvim is spawned, instead use one of the
following:

1. Set SYSTEM_NAME environment variable before calling the tests, it
   is set from CMAKE_SYSTEM_NAME(i.e. uname -s or 'Windows')
2. Call uname -s
3. Assume windows
2016-08-31 11:32:28 +01:00
..
api functionaltest: Create lua helper for os.tmpname() 2016-08-31 11:32:28 +01:00
autocmd Mark some functional tests as pending in Windows 2016-08-26 08:21:41 +01:00
clipboard Mark some functional tests as pending in Windows 2016-08-26 08:21:41 +01:00
core functionaltest: Create lua helper for os.tmpname() 2016-08-31 11:32:28 +01:00
eval Mark some functional tests as pending in Windows 2016-08-26 08:21:41 +01:00
ex_cmds functionaltest: Create lua helper for os.tmpname() 2016-08-31 11:32:28 +01:00
ex_getln functests: Check logs in lua code 2016-06-10 21:50:49 +03:00
fixtures CheckHealth: Accept [plugin1 [, plugin2 [, ...]]] args. 2016-08-21 22:03:28 -04:00
legacy functionaltest: Create lua helper for os.tmpname() 2016-08-31 11:32:28 +01:00
normal Mark some functional tests as pending in Windows 2016-08-26 08:21:41 +01:00
options Mark some functional tests as pending in Windows 2016-08-26 08:21:41 +01:00
plugin Mark some functional tests as pending in Windows 2016-08-26 08:21:41 +01:00
provider Merge #4980 'Support legacy :ruby commands'. 2016-07-10 14:16:12 -04:00
shada functionaltest: Create lua helper for os.tmpname() 2016-08-31 11:32:28 +01:00
shell Mark some functional tests as pending in Windows 2016-08-26 08:21:41 +01:00
terminal Mark some functional tests as pending in Windows 2016-08-26 08:21:41 +01:00
ui Mark some functional tests as pending in Windows 2016-08-26 08:21:41 +01:00
viml Mark some functional tests as pending in Windows 2016-08-26 08:21:41 +01:00
dict_notifications_spec.lua functests: Check logs in lua code 2016-06-10 21:50:49 +03:00
helpers.lua functionaltest: Create lua helper for os.tmpname() 2016-08-31 11:32:28 +01:00
preload.lua functests: Check logs in lua code 2016-06-10 21:50:49 +03:00