diff options
author | Matthias Clasen <mclasen@redhat.com> | 2013-05-31 18:02:03 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2013-05-31 18:03:53 -0400 |
commit | e17b595e3bacfb7333bab6fcd1c62d05e7228936 (patch) | |
tree | 53137441a64f82e316138ab44bc847cecb0d0c76 /tests/test-ot-tags.c | |
parent | 6c16dfe8ad012a2551d0270a0325574e9ce3cef7 (diff) | |
download | pango-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.c | 8 |
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 |