summaryrefslogtreecommitdiff
path: root/tests/test-pangocairo-threads.c
diff options
context:
space:
mode:
authorBehdad Esfahbod <behdad@behdad.org>2017-08-16 18:26:00 -0700
committerBehdad Esfahbod <behdad@behdad.org>2017-08-16 18:26:00 -0700
commitda4cea5b1d8e0448c478c3fe8e47f84eb9e8b6f7 (patch)
treeb47bd320e7deecaecbfe3aa533e88e35eeaf3727 /tests/test-pangocairo-threads.c
parentfe68dd173cc34c160b2f6451aa93682163813eba (diff)
downloadpango-da4cea5b1d8e0448c478c3fe8e47f84eb9e8b6f7.tar.gz
[test] Reduce test-pangocairo-thread work by 8x
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=786379
Diffstat (limited to 'tests/test-pangocairo-threads.c')
-rw-r--r--tests/test-pangocairo-threads.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test-pangocairo-threads.c b/tests/test-pangocairo-threads.c
index 4f1c4a2f..6462a0ea 100644
--- a/tests/test-pangocairo-threads.c
+++ b/tests/test-pangocairo-threads.c
@@ -7,7 +7,7 @@
#define HEIGHT 100
const char *text = "Hamburgerfonts\nวิวิวิวิวิวิ\nبهداد";
-int num_iters = 200;
+int num_iters = 50;
GMutex mutex;
@@ -68,7 +68,7 @@ thread_func (gpointer data)
int
main (int argc, char **argv)
{
- int num_threads = 10;
+ int num_threads = 5;
int i;
GPtrArray *threads = g_ptr_array_new ();
GPtrArray *surfaces = g_ptr_array_new ();