test: Rename universal_mocks.c to common_mocks.c

Old name was quite misleading, new one better describes file content

Signed-off-by: Karol Trzcinski <karolx.trzcinski@linux.intel.com>
This commit is contained in:
Karol Trzcinski 2020-01-21 12:01:51 +01:00 committed by Liam Girdwood
parent 3fdd722ea7
commit b7c92f18e6
2 changed files with 4 additions and 4 deletions

View File

@ -54,10 +54,10 @@ add_custom_command(OUTPUT ${memory_mock_lds_out}
add_custom_target(ld_script_memory_mock DEPENDS ${memory_mock_lds_out})
SET(arch_src ${PROJECT_SOURCE_DIR}/src/arch/xtensa/idc.c)
add_library(universal_mock STATIC ${PROJECT_SOURCE_DIR}/test/cmocka/src/universal_mocks.c)
target_link_libraries(universal_mock PRIVATE sof_options)
link_libraries(universal_mock)
sof_append_relative_path_definitions(universal_mock)
add_library(common_mock STATIC ${PROJECT_SOURCE_DIR}/test/cmocka/src/common_mocks.c)
target_link_libraries(common_mock PRIVATE sof_options)
link_libraries(common_mock)
sof_append_relative_path_definitions(common_mock)
# creates exectuable for new test and adds it as test for ctest
function(cmocka_test test_name)