summaryrefslogtreecommitdiff
path: root/tests/test-ot-tags.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2013-05-31 18:02:03 -0400
committerMatthias Clasen <mclasen@redhat.com>2013-05-31 18:03:53 -0400
commite17b595e3bacfb7333bab6fcd1c62d05e7228936 (patch)
tree53137441a64f82e316138ab44bc847cecb0d0c76 /tests/test-ot-tags.c
parent6c16dfe8ad012a2551d0270a0325574e9ce3cef7 (diff)
downloadpango-e17b595e3bacfb7333bab6fcd1c62d05e7228936.tar.gz
Make tests installable
This ensures that tests are run continuously on ostree.gnome.org.
Diffstat (limited to 'tests/test-ot-tags.c')
-rw-r--r--tests/test-ot-tags.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/test-ot-tags.c b/tests/test-ot-tags.c
index 48bb47b2..9ae748c1 100644
--- a/tests/test-ot-tags.c
+++ b/tests/test-ot-tags.c
@@ -124,12 +124,12 @@ test_language_tags (void)
int
main (int argc, char **argv)
{
- g_setenv ("PANGO_RC_FILE", "./pangorc", TRUE);
+ g_test_init (&argc, &argv, NULL);
- test_script_tags ();
- test_language_tags ();
+ g_test_add_func ("/tags/script", test_script_tags);
+ g_test_add_func ("/tags/language", test_language_tags);
- return 0;
+ return g_test_run ();
}
G_GNUC_END_IGNORE_DEPRECATIONS