mirror of
https://gitlab.xiph.org/xiph/icecast-server.git
synced 2025-02-02 15:07:36 -05:00
Update: Added additional diagnostic for resource matches
This commit is contained in:
parent
6cf45fd11d
commit
88aa6c60c9
@ -114,6 +114,8 @@ static inline resourcematch_result_t run_test_base(const struct test *test, reso
|
||||
snprintf(name, sizeof(name), "pattern \"%s\" and string \"%s\" %s extract", test->pattern, test->string, extract ? "with" : "without");
|
||||
ctest_test(name, test->expected_result == ret && ok);
|
||||
|
||||
ctest_diagnostic_printf("Expected: %s, Got: %s, Ok: %i", res2str(test->expected_result), res2str(ret), ok);
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user