aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThiago de Arruda <tpadilha84@gmail.com>2014-10-01 09:05:28 -0300
committerThiago de Arruda <tpadilha84@gmail.com>2014-10-01 09:05:28 -0300
commit549fc9548deaa737ff101806b60cedd7d4970c28 (patch)
treeab51339ecd9994a47f93bd3c0c784ee283f66160
parent1f622d63bcd3018e5e714c02e6d0b58431c658e4 (diff)
downloadrneovim-549fc9548deaa737ff101806b60cedd7d4970c28.tar.gz
rneovim-549fc9548deaa737ff101806b60cedd7d4970c28.tar.bz2
rneovim-549fc9548deaa737ff101806b60cedd7d4970c28.zip
test: Move 'test/legacy' to 'test/functional'
Busted can only discover tests from a single directory. In order to allow tests under 'legacy' to run as a functional test, it needed to be moved to 'test/functional'.
-rw-r--r--cmake/RunTests.cmake2
-rw-r--r--test/functional/legacy/002_filename_recognition_spec.lua (renamed from test/legacy/002_filename_recognition_spec.lua)0
2 files changed, 1 insertions, 1 deletions
diff --git a/cmake/RunTests.cmake b/cmake/RunTests.cmake
index dc02ce5400..b89957bb28 100644
--- a/cmake/RunTests.cmake
+++ b/cmake/RunTests.cmake
@@ -7,7 +7,7 @@ endif()
if(TEST_TYPE STREQUAL "functional")
execute_process(
COMMAND python ${BUSTED_PRG} ${BUSTED_REAL_PRG} -v -o
- ${BUSTED_OUTPUT_TYPE} --lpath=${BUILD_DIR}/?.lua ${TEST_DIR}/legacy
+ ${BUSTED_OUTPUT_TYPE} --lpath=${BUILD_DIR}/?.lua ${TEST_DIR}/functional
WORKING_DIRECTORY ${WORKING_DIR}
RESULT_VARIABLE res)
else()
diff --git a/test/legacy/002_filename_recognition_spec.lua b/test/functional/legacy/002_filename_recognition_spec.lua
index 569e748631..569e748631 100644
--- a/test/legacy/002_filename_recognition_spec.lua
+++ b/test/functional/legacy/002_filename_recognition_spec.lua