summaryrefslogtreecommitdiff
path: root/tests/check/generic
diff options
context:
space:
mode:
authorStefan Kost <ensonic@users.sf.net>2010-09-09 23:59:17 +0300
committerStefan Kost <ensonic@users.sf.net>2010-09-09 23:59:17 +0300
commit6b8ca06871e978634db2ba352298ca80aca3ee5e (patch)
tree46fa19c80210a3a2c126ed4543f99bb2ba555a9c /tests/check/generic
parenta913746ef9f9e5c5be61f123de8ed51ed51b169d (diff)
tests: allow running state tests for all elements
Now one can use GST_NO_STATE_IGNORE_ELEMENTS=1 make generic/states.check to try elements that would normaly be skipped.
Diffstat (limited to 'tests/check/generic')
-rw-r--r--tests/check/generic/states.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/check/generic/states.c b/tests/check/generic/states.c
index da69ac96c..4916ac05d 100644
--- a/tests/check/generic/states.c
+++ b/tests/check/generic/states.c
@@ -39,8 +39,8 @@ setup (void)
const gchar *STATE_IGNORE_ELEMENTS = NULL;
GST_DEBUG ("getting elements for package %s", PACKAGE);
- STATE_IGNORE_ELEMENTS = g_getenv ("STATE_IGNORE_ELEMENTS");
- if (STATE_IGNORE_ELEMENTS) {
+ STATE_IGNORE_ELEMENTS = g_getenv ("GST_STATE_IGNORE_ELEMENTS");
+ if (!g_getenv ("GST_NO_STATE_IGNORE_ELEMENTS") && STATE_IGNORE_ELEMENTS) {
GST_DEBUG ("Will ignore element factories: '%s'", STATE_IGNORE_ELEMENTS);
ignorelist = g_strsplit (STATE_IGNORE_ELEMENTS, " ", 0);
}