summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/check/gnl/complex.c19
-rw-r--r--tests/check/gnl/gnlcomposition.c2
-rw-r--r--tests/check/gnl/gnloperation.c19
-rw-r--r--tests/check/gnl/gnlsource.c19
-rw-r--r--tests/check/gnl/simple.c19
5 files changed, 9 insertions, 69 deletions
diff --git a/tests/check/gnl/complex.c b/tests/check/gnl/complex.c
index eb90d6f..fe838f3 100644
--- a/tests/check/gnl/complex.c
+++ b/tests/check/gnl/complex.c
@@ -1171,7 +1171,7 @@ GST_END_TEST;
Suite *
gnonlin_suite (void)
{
- Suite *s = suite_create ("gnonlin");
+ Suite *s = suite_create ("gnonlin-complex");
TCase *tc_chain = tcase_create ("complex");
suite_add_tcase (s, tc_chain);
@@ -1185,19 +1185,4 @@ gnonlin_suite (void)
return s;
}
-int
-main (int argc, char **argv)
-{
- int nf;
-
- Suite *s = gnonlin_suite ();
- SRunner *sr = srunner_create (s);
-
- gst_check_init (&argc, &argv);
-
- srunner_run_all (sr, CK_NORMAL);
- nf = srunner_ntests_failed (sr);
- srunner_free (sr);
-
- return nf;
-}
+GST_CHECK_MAIN (gnonlin)
diff --git a/tests/check/gnl/gnlcomposition.c b/tests/check/gnl/gnlcomposition.c
index 4ff16f6..9ecb52a 100644
--- a/tests/check/gnl/gnlcomposition.c
+++ b/tests/check/gnl/gnlcomposition.c
@@ -409,7 +409,7 @@ GST_END_TEST;
static Suite *
gnonlin_suite (void)
{
- Suite *s = suite_create ("gnonlin");
+ Suite *s = suite_create ("gnlcomposition");
TCase *tc_chain = tcase_create ("gnlcomposition");
suite_add_tcase (s, tc_chain);
diff --git a/tests/check/gnl/gnloperation.c b/tests/check/gnl/gnloperation.c
index f7b892a..52039e5 100644
--- a/tests/check/gnl/gnloperation.c
+++ b/tests/check/gnl/gnloperation.c
@@ -1322,7 +1322,7 @@ GST_END_TEST;
Suite *
gnonlin_suite (void)
{
- Suite *s = suite_create ("gnonlin");
+ Suite *s = suite_create ("gnloperation");
TCase *tc_chain = tcase_create ("gnloperation");
guint major, minor, micro, nano;
@@ -1338,19 +1338,4 @@ gnonlin_suite (void)
return s;
}
-int
-main (int argc, char **argv)
-{
- int nf;
-
- Suite *s = gnonlin_suite ();
- SRunner *sr = srunner_create (s);
-
- gst_check_init (&argc, &argv);
-
- srunner_run_all (sr, CK_NORMAL);
- nf = srunner_ntests_failed (sr);
- srunner_free (sr);
-
- return nf;
-}
+GST_CHECK_MAIN (gnonlin)
diff --git a/tests/check/gnl/gnlsource.c b/tests/check/gnl/gnlsource.c
index 858f228..9eba45c 100644
--- a/tests/check/gnl/gnlsource.c
+++ b/tests/check/gnl/gnlsource.c
@@ -214,7 +214,7 @@ GST_END_TEST;
Suite *
gnonlin_suite (void)
{
- Suite *s = suite_create ("gnonlin");
+ Suite *s = suite_create ("gnlsource");
TCase *tc_chain = tcase_create ("gnlsource");
guint major, minor, micro, nano;
@@ -227,19 +227,4 @@ gnonlin_suite (void)
return s;
}
-int
-main (int argc, char **argv)
-{
- int nf;
-
- Suite *s = gnonlin_suite ();
- SRunner *sr = srunner_create (s);
-
- gst_check_init (&argc, &argv);
-
- srunner_run_all (sr, CK_NORMAL);
- nf = srunner_ntests_failed (sr);
- srunner_free (sr);
-
- return nf;
-}
+GST_CHECK_MAIN (gnonlin)
diff --git a/tests/check/gnl/simple.c b/tests/check/gnl/simple.c
index a52f226..2afaee6 100644
--- a/tests/check/gnl/simple.c
+++ b/tests/check/gnl/simple.c
@@ -695,7 +695,7 @@ GST_END_TEST;
Suite *
gnonlin_suite (void)
{
- Suite *s = suite_create ("gnonlin");
+ Suite *s = suite_create ("gnonlin-simple");
TCase *tc_chain = tcase_create ("general");
suite_add_tcase (s, tc_chain);
@@ -711,19 +711,4 @@ gnonlin_suite (void)
return s;
}
-int
-main (int argc, char **argv)
-{
- int nf;
-
- Suite *s = gnonlin_suite ();
- SRunner *sr = srunner_create (s);
-
- gst_check_init (&argc, &argv);
-
- srunner_run_all (sr, CK_NORMAL);
- nf = srunner_ntests_failed (sr);
- srunner_free (sr);
-
- return nf;
-}
+GST_CHECK_MAIN (gnonlin)