summaryrefslogtreecommitdiff
path: root/tests/testscript.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/testscript.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/testscript.c')
-rw-r--r--tests/testscript.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/testscript.c b/tests/testscript.c
index 4106e9a3..aa610b44 100644
--- a/tests/testscript.c
+++ b/tests/testscript.c
@@ -222,9 +222,9 @@ test_script_iter (void)
int
main (int argc, char **argv)
{
- g_setenv ("PANGO_RC_FILE", "./pangorc", TRUE);
+ g_test_init (&argc, &argv, NULL);
- test_script_iter ();
+ g_test_add_func ("/script/iter", test_script_iter);
- return 0;
+ return g_test_run ();
}