aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHanspeter Portner <dev@open-music-kontrollers.ch>2016-02-26 10:09:34 +0100
committerHanspeter Portner <dev@open-music-kontrollers.ch>2016-02-26 10:09:34 +0100
commit286497a6b80051ef24b60172025bcbc97aea1e0e (patch)
treeb95e3f46f36c90888330a42dca7283f804b30ebe
parenta25ad369a506b87fea61b995ed8dce0d7c9ad5f0 (diff)
downloadmoony.lv2-286497a6b80051ef24b60172025bcbc97aea1e0e.tar.xz
rename test_moony* to moony_test*.
-rw-r--r--CMakeLists.txt18
-rw-r--r--test/moony_test.c (renamed from test/test_moony.c)0
-rw-r--r--test/moony_test.lua (renamed from test/test_moony.lua)0
3 files changed, 9 insertions, 9 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 4c27b38..a3db330 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -228,24 +228,24 @@ install(FILES ${PROJECT_SOURCE_DIR}/plugin/presets.ttl DESTINATION ${PLUGIN_DEST
include(CTest)
if(${BUILD_TESTING})
- add_executable(test_moony
- test/test_moony.c
+ add_executable(moony_test
+ test/moony_test.c
$<TARGET_OBJECTS:api>
$<TARGET_OBJECTS:lua>)
if(${CMAKE_SYSTEM_NAME} STREQUAL "Linux")
- target_compile_definitions(test_moony PUBLIC -DLUA_USE_LINUX)
+ target_compile_definitions(moony_test PUBLIC -DLUA_USE_LINUX)
elseif(WIN32)
- target_compile_definitions(test_moony PUBLIC)
+ target_compile_definitions(moony_test PUBLIC)
elseif(APPLE)
- target_compile_definitions(test_moony PUBLIC -DLUA_USE_MACOSX)
+ target_compile_definitions(moony_test PUBLIC -DLUA_USE_MACOSX)
endif()
- set_target_properties(test_moony PROPERTIES INTERPROCEDURAL_OPTIMIZATION true) # -flto
- target_link_libraries(test_moony "-lm")
+ set_target_properties(moony_test PROPERTIES INTERPROCEDURAL_OPTIMIZATION true) # -flto
+ target_link_libraries(moony_test "-lm")
if(NOT WIN32)
- add_test(NAME API-Test COMMAND test_moony ${PROJECT_SOURCE_DIR}/test/test_moony.lua)
+ add_test(NAME API-Test COMMAND moony_test ${PROJECT_SOURCE_DIR}/test/moony_test.lua)
else()
- add_test(NAME API-Test COMMAND wine test_moony ${PROJECT_SOURCE_DIR}/test/test_moony.lua)
+ add_test(NAME API-Test COMMAND wine moony_test ${PROJECT_SOURCE_DIR}/test/moony_test.lua)
endif()
endif()
diff --git a/test/test_moony.c b/test/moony_test.c
index 92b3f9b..92b3f9b 100644
--- a/test/test_moony.c
+++ b/test/moony_test.c
diff --git a/test/test_moony.lua b/test/moony_test.lua
index 4b6b02a..4b6b02a 100644
--- a/test/test_moony.lua
+++ b/test/moony_test.lua