mirror of
https://github.com/yawut/SDL.git
synced 2026-08-21 16:24:37 -05:00
Updated test case filter.
This commit is contained in:
@@ -269,6 +269,14 @@ FilterTestCase(TestCaseReference *testReference)
|
||||
retVal = 0;
|
||||
}
|
||||
|
||||
if(only_selected_test) {
|
||||
if(SDL_strncmp(testReference->name, selected_test_name, NAME_BUFFER_SIZE) == 0) {
|
||||
retVal = 1;
|
||||
} else {
|
||||
retVal = 0;
|
||||
}
|
||||
}
|
||||
|
||||
if(only_tests_with_string) {
|
||||
if(strstr(testReference->name, testcase_name_substring) != NULL) {
|
||||
retVal = 1;
|
||||
|
||||
Reference in New Issue
Block a user