summaryrefslogtreecommitdiff
path: root/tests/test-break.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2020-08-10 12:56:25 -0400
committerMatthias Clasen <mclasen@redhat.com>2020-08-10 12:57:37 -0400
commitc00a174c0e9dc183b644b9083138bea2a2acd7c8 (patch)
tree1f3d242a0c1e970ea7459bd769a4dccaab5d023c /tests/test-break.c
parent0c4b4dd0d472486f7b9537128dc32ef649318b2f (diff)
downloadpango-c00a174c0e9dc183b644b9083138bea2a2acd7c8.tar.gz
Undo a recent change
Revert 97778b40daedac08f6, since it sadly broke running our testsuite which does pass arguments like -k and --tap.
Diffstat (limited to 'tests/test-break.c')
-rw-r--r--tests/test-break.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test-break.c b/tests/test-break.c
index e020b583..db944fbb 100644
--- a/tests/test-break.c
+++ b/tests/test-break.c
@@ -309,6 +309,8 @@ main (int argc, char *argv[])
const gchar *name;
gchar *path;
+ g_test_init (&argc, &argv, NULL);
+
setlocale (LC_ALL, "");
context = pango_font_map_create_context (pango_cairo_font_map_get_default ());
@@ -340,8 +342,6 @@ main (int argc, char *argv[])
return 0;
}
- g_test_init (&argc, &argv, NULL);
-
path = g_test_build_filename (G_TEST_DIST, "breaks", NULL);
dir = g_dir_open (path, 0, &error);
g_free (path);