neovim/test
Justin M. Keyes 30826cb2d6 build: oldtest target: TEST_FILE, NVIM_PRG (#6098)
- Add support for TEST_FILE to the `oldtest` target, for consistency
  with the busted/lua tests.
  Caveat: with the busted/lua tests TEST_FILE takes a full path, whereas
  for `oldtest` it must be "test_foo.res".
- Add support for NVIM_PRG, again so that all test-related targets are
  consistent.
- Use consistent name for NVIM_PRG. But still need to support NVIM_PROG
  for QuickBuild CI.

Note: The `oldtest` target is driven by the top-level Makefile, because
it requires a TTY. CMake 3.2 added a USES_TERMINAL flag to
add_custom_target(). But we support CMake 2.8...

    add_custom_target(oldtest
      COMMAND make clean
      COMMAND make NVIM_PRG=$<TARGET_FILE:nvim> $ENV{MAKEOVERRIDES}
      DEPENDS nvim
      WORKING_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/src/nvim/testdir"
      USES_TERMINAL true
    )
2017-02-12 01:02:54 +01:00
..
benchmark build: Target luacheck HEAD. 2016-11-17 00:55:39 +01:00
config shada: When using shada-r normalize option path 2015-10-08 22:01:10 +03:00
functional build: oldtest target: TEST_FILE, NVIM_PRG (#6098) 2017-02-12 01:02:54 +01:00
includes test: sys/fcntl.h -> fcntl.h 2016-01-14 23:36:58 -05:00
unit build: Do not force busted into front of $PATH 2017-02-04 11:07:49 +01:00
.luacheckrc build: Target luacheck HEAD. 2016-11-17 00:55:39 +01:00
helpers.lua Merge #5782 'Visual-mode put from @. register' 2017-01-22 11:10:24 +01:00