exclude test-ext-autorelease.c in SOURCE_UNIT_TEST_EXT_MODULES properly (#4485)

JerryScript-DCO-1.0-Signed-off-by: Yonggang Luo luoyonggang@gmail.com
This commit is contained in:
Yonggang Luo 2021-01-16 15:33:48 +00:00 committed by GitHub
parent 5e483633f3
commit fd0ca7da69
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -35,7 +35,7 @@ set(SOURCE_UNIT_TEST_EXT_MODULES
# Disable test-ext-autorelease.c if compiler is MSVC, because MSVC doesn't support cleanup attribute. # Disable test-ext-autorelease.c if compiler is MSVC, because MSVC doesn't support cleanup attribute.
if(USING_MSVC) if(USING_MSVC)
list(REMOVE_ITEM SOURCE_UNIT_TEST_EXT_MODULES ${CMAKE_CURRENT_SOURCE_DIR}/test-ext-autorelease.c) list(REMOVE_ITEM SOURCE_UNIT_TEST_EXT_MODULES test-ext-autorelease.c)
endif() endif()
# Unit tests declaration # Unit tests declaration