summaryrefslogtreecommitdiff
path: root/tests/test-pangocairo-threads.c
diff options
context:
space:
mode:
authorBehdad Esfahbod <behdad@behdad.org>2013-01-04 00:43:58 -0600
committerBehdad Esfahbod <behdad@behdad.org>2013-01-04 00:43:58 -0600
commiteeebdac3e8b2bfdeba1069f61b3a8ee6382be1b1 (patch)
tree8e2461528c56464b2ea1a814bfd9f58e9d92f3ca /tests/test-pangocairo-threads.c
parent080c1eaf78e0d4eff2c81720a750845bad47c709 (diff)
downloadpango-eeebdac3e8b2bfdeba1069f61b3a8ee6382be1b1.tar.gz
Enable test-pangocairo-threads by default
Using 100 threads and 100 iterations per thread. Only passes with fontconfig master. We will get a release made and required soon...
Diffstat (limited to 'tests/test-pangocairo-threads.c')
-rw-r--r--tests/test-pangocairo-threads.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/test-pangocairo-threads.c b/tests/test-pangocairo-threads.c
index 6242839e..e358f743 100644
--- a/tests/test-pangocairo-threads.c
+++ b/tests/test-pangocairo-threads.c
@@ -6,6 +6,7 @@
#define WIDTH 100
#define HEIGHT 100
const char *text = "The quick brown fox jumped over the lazy dog!";
+
int num_iters = 100;
GMutex mutex;
@@ -62,7 +63,7 @@ thread_func (gpointer data)
int
main (int argc, char **argv)
{
- int num_threads = 2;
+ int num_threads = 100;
int i;
GPtrArray *threads = g_ptr_array_new ();
GPtrArray *surfaces = g_ptr_array_new ();