[osal/test]: fix script variable error for log test

git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@15 6e48237b-75ef-9749-8fc9-41990f28c85a
This commit is contained in:
ChenHengming 2015-08-03 09:58:33 +00:00
parent 1dc27e5113
commit a07b33b1f2

View File

@ -4,15 +4,15 @@
# ----------------------------------------------------------------------------
# log system unit test
option(OSAL_LOG_TEST "Build osal rk_log unit test" ON)
if(OSAL_THREAD_TEST)
add_executable(rk_log_test rk_log_test.c)
target_link_libraries(rk_log_test osal)
if(OSAL_LOG_TEST)
add_executable(rk_log_test rk_log_test.c)
target_link_libraries(rk_log_test osal)
endif()
# thread implement unit test
option(OSAL_THREAD_TEST "Build osal rk_thread unit test" ON)
if(OSAL_THREAD_TEST)
add_executable(rk_thread_test rk_thread_test.c)
target_link_libraries(rk_thread_test osal)
add_executable(rk_thread_test rk_thread_test.c)
target_link_libraries(rk_thread_test osal)
endif()