From 549fc9548deaa737ff101806b60cedd7d4970c28 Mon Sep 17 00:00:00 2001 From: Thiago de Arruda Date: Wed, 1 Oct 2014 09:05:28 -0300 Subject: [PATCH] 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'. --- cmake/RunTests.cmake | 2 +- test/{ => functional}/legacy/002_filename_recognition_spec.lua | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename test/{ => functional}/legacy/002_filename_recognition_spec.lua (100%) 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 similarity index 100% rename from test/legacy/002_filename_recognition_spec.lua rename to test/functional/legacy/002_filename_recognition_spec.lua