Files
FEX-Emu--FEX/unittests/APITests/CMakeLists.txt
T
badumbatish 81d4e8fe9d Initial implementation for regex engine
Add support for question mark and plus mark in regex, supply testing for star

Added more characters to the regex alphabets, add more test case

Added support for regex matching of configs, awaiting reviews

Rename variable to CamelCase

Addresses PR reviews

Remove unnecessary features and test cases

Rewrite to naive regex with dp

Addresses PR reviews

Build fixes

Code Review
2026-04-01 10:45:59 -07:00

30 lines
751 B
CMake

set(TESTS
Allocator
ArgumentParser
ExtendedVolatileMetadata
fextl_function
FileMappingBaseAddress
Filesystem
InterruptableConditionVariable
StringUtils
WildcardMatcher)
list(APPEND LIBS Common FEXCore FEXCore_Base JemallocLibs)
foreach(API_TEST ${TESTS})
add_executable(${API_TEST} ${API_TEST}.cpp)
target_link_libraries(${API_TEST} PRIVATE ${LIBS} Catch2::Catch2WithMain)
catch_discover_tests(${API_TEST}
TEST_SUFFIX ".${API_TEST}.APITest")
endforeach()
add_custom_target(api_tests
WORKING_DIRECTORY "${CMAKE_BINARY_DIR}"
USES_TERMINAL
COMMAND "ctest" "--output-on-failure" "--timeout" "302" ${TEST_JOB_FLAG} "-R" "\.*.APITest")
foreach(API_TEST ${TESTS})
add_dependencies(api_tests ${API_TEST})
endforeach()