mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-10-04 17:52:29 +00:00
check: use globbing for selective test invocation via GST_CHECKS
Use glib globbing instead of simple string matching to allow e.g. GST_CHECKS="test_inter*" make gst/gstcaps.check
This commit is contained in:
parent
94ed3c370a
commit
6ea0bdadd5
1 changed files with 1 additions and 1 deletions
|
@ -606,7 +606,7 @@ _gst_check_run_test_func (const gchar * func_name)
|
||||||
/* only run specified functions */
|
/* only run specified functions */
|
||||||
funcs = g_strsplit (gst_checks, ",", -1);
|
funcs = g_strsplit (gst_checks, ",", -1);
|
||||||
for (f = funcs; f != NULL && *f != NULL; ++f) {
|
for (f = funcs; f != NULL && *f != NULL; ++f) {
|
||||||
if (strcmp (*f, func_name) == 0) {
|
if (g_pattern_match_simple (*f, func_name)) {
|
||||||
res = TRUE;
|
res = TRUE;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue