neovim/cmake
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
..
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
FindJeMalloc.cmake CMake: Remove duplicate PkgConfig lookups. 2015-04-29 22:26:55 +03:00
FindLibIntl.cmake Fix #1484: search gettext subdir for header 2014-11-17 19:31:48 -05:00
FindLibTermkey.cmake CMake: Remove duplicate PkgConfig lookups. 2015-04-29 22:26:55 +03:00
FindLibUV.cmake cmake: Don't use check_library_exists for Win32 API libraries 2015-11-29 23:48:01 -05:00
FindLibVterm.cmake CMake: Remove duplicate PkgConfig lookups. 2015-04-29 22:26:55 +03:00
FindLuaJit.cmake MinGW: Add libluajit-5.1 lib name to FindLuaJit 2015-12-02 23:07:22 -05:00
FindMsgpack.cmake MSVC: Build third-party dependencies as release DLLs 2016-08-07 21:57:28 +01:00
FindUnibilium.cmake CMake: Remove duplicate PkgConfig lookups. 2015-04-29 22:26:55 +03:00
GenerateHelptags.cmake.in Be more explicit about the lack of X11 integration 2015-11-10 20:10:55 -05:00
GetCompileFlags.cmake version: Add compilation info. 2014-11-09 18:34:57 +01:00
GetGitRevisionDescription.cmake CMake: Force use of project directory to look for Git data. 2015-11-01 16:19:52 +01: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 Travis: Refactor CI files, use container infrastructure. 2015-07-08 07:42:16 -03:00
InstallHelpers.cmake Build: Use GNUInstallDirs, install man pages #2649 2015-05-17 14:57:43 -04:00
LibFindMacros.cmake add LibFindMacros CMake macro library 2014-02-26 07:08:26 -03:00
LuaHelpers.cmake cmake: Allow building without Luajit 2016-05-19 17:55:19 +01:00
mingw32-w64-cross-travis.toolchain.cmake Travis: Add Mingw third-party builds 2015-05-15 17:55:02 +03:00
PreventInTreeBuilds.cmake build: prevent in-tree builds for the time being, as it's not supported 2016-10-11 20:20:31 -04:00
RunLint.cmake cmake: allow linting a specific file 2016-02-25 11:31:34 +01: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 build: oldtest target: TEST_FILE, NVIM_PRG (#6098) 2017-02-12 01:02:54 +01:00
RunTestsLint.cmake Satisfy testlint. 2016-04-28 19:30:17 +02:00
RunXgettext.cmake Move po generation from Make to CMake. 2014-07-17 07:16:53 -04:00
WindowsDllCopy.cmake MSVC: Build third-party dependencies as release DLLs 2016-08-07 21:57:28 +01:00