You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add a new test case macro that allows selectively execution features, can accept options for the compiler, platform, and architecture.
Should execute test if it matched the + selection and ignore if matches the - selection. Using bitflag for a more seamless selection. Should be optional for compilation.
Proposed format
CESTER_TEST_SELECTIVE(test_name, arg, {
// test bodycester_assert_nothing();
},
// fourth argument is flags of selected platforms, compilers, and architectures CESTER_SELECTIVE_PLATFORM_ALL | CESTER_SELECTIVE_COMPILER_ALL | CESTER_SELECTIVE_ARCH_ALL
,
// fifth argument is flags of platforms, compilers, and architectures to ignoreCESTER_SELECTIVE_RASPBERRY_PI
)
Possible CESTER_SELECTIVE_* bit flags
CESTER_SELECTIVE_PLATFORM_ALL
CESTER_SELECTIVE_COMPILER_ALL
CESTER_SELECTIVE_ARCH_ALL
CESTER_SELECTIVE_NONE
CESTER_SELECTIVE_PLATFORM_WINDOWS
CESTER_SELECTIVE_PLATFORM_LINUX
CESTER_SELECTIVE_PLATFORM_MACOS
CESTER_SELECTIVE_PLATFORM_UNIX
CESTER_SELECTIVE_PLATFORM_RASPBERRY_PI
CESTER_SELECTIVE_PLATFORM_ANDRUINO
CESTER_SELECTIVE_PLATFORM_HAIKU
CESTER_SELECTIVE_COMPILER_CLANG
CESTER_SELECTIVE_COMPILER_GCC
CESTER_SELECTIVE_COMPILER_TCC
CESTER_SELECTIVE_COMPILER_MSVC
CESTER_SELECTIVE_ARCH_ARM
CESTER_SELECTIVE_ARCH_X86
CESTER_SELECTIVE_ARCH_X64
CESTER_SELECTIVE_ARCH_X86_64
The text was updated successfully, but these errors were encountered:
Add a new test case macro that allows selectively execution features, can accept options for the compiler, platform, and architecture.
Should execute test if it matched the + selection and ignore if matches the - selection. Using bitflag for a more seamless selection. Should be optional for compilation.
Proposed format
Possible CESTER_SELECTIVE_* bit flags
The text was updated successfully, but these errors were encountered: