summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorStefan Kost <ensonic@users.sourceforge.net>2008-09-03 10:12:04 +0000
committerStefan Kost <ensonic@users.sourceforge.net>2008-09-03 10:12:04 +0000
commit1875564b65d589b86c80417dfb553c31eef142f0 (patch)
tree0ee25edc199f330c07f371b5bd93b7a4f29676bc /tests
parentafffd2d620810a1de46edd11d030c58536da66fc (diff)
Rework last change, so that we build subparse, but just disable the sami parse functionality, if we're configured to ...
Original commit message from CVS: * configure.ac: * gst/subparse/Makefile.am: * gst/subparse/gstsubparse.c: * gst/subparse/samiparse.c: * tests/check/elements/subparse.c: Rework last change, so that we build subparse, but just disable the sami parse functionality, if we're configured to not use xml. In the tests only the sami test is disabled now.
Diffstat (limited to 'tests')
-rw-r--r--tests/check/elements/subparse.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/check/elements/subparse.c b/tests/check/elements/subparse.c
index c5127b7b5..8cb02f402 100644
--- a/tests/check/elements/subparse.c
+++ b/tests/check/elements/subparse.c
@@ -583,6 +583,7 @@ GST_START_TEST (test_subviewer2)
GST_END_TEST;
+#ifndef GST_DISABLE_XML
GST_START_TEST (test_sami)
{
SubParseInputChunk sami_input[] = {
@@ -618,6 +619,7 @@ GST_START_TEST (test_sami)
}
GST_END_TEST;
+#endif
/* TODO:
* - add/modify tests so that lines aren't dogfed to the parsers in complete
@@ -646,7 +648,9 @@ subparse_suite (void)
tcase_add_test (tc_chain, test_mpl2);
tcase_add_test (tc_chain, test_subviewer);
tcase_add_test (tc_chain, test_subviewer2);
+#ifndef GST_DISABLE_XML
tcase_add_test (tc_chain, test_sami);
+#endif
return s;
}