Commit c466d704 authored by Markus Kauppila's avatar Markus Kauppila

Updated test case filter.

parent b53f302e
...@@ -269,6 +269,14 @@ FilterTestCase(TestCaseReference *testReference) ...@@ -269,6 +269,14 @@ FilterTestCase(TestCaseReference *testReference)
retVal = 0; 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(only_tests_with_string) {
if(strstr(testReference->name, testcase_name_substring) != NULL) { if(strstr(testReference->name, testcase_name_substring) != NULL) {
retVal = 1; retVal = 1;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment