summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2015-10-12 11:37:48 +0200
committerBenjamin Otte <otte@redhat.com>2015-10-12 16:10:57 +0200
commitbb6640b3a1e0f75d770f1674dd28abcc842db671 (patch)
tree2bca4c5c56176fc1a6bd159560f7a5a272fbd750
parent27efe4d434f25551ccb31dd1dcbbfd7264b86e89 (diff)
downloadgdk-pixbuf-bb6640b3a1e0f75d770f1674dd28abcc842db671.tar.gz
tests: Don't set RLIMIT_AS
When using gio and threads, 64bit code gets unhappy about a limited address space.
-rw-r--r--tests/pixbuf-randomly-modified.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/tests/pixbuf-randomly-modified.c b/tests/pixbuf-randomly-modified.c
index a6ae9ef9f..2c905c3e1 100644
--- a/tests/pixbuf-randomly-modified.c
+++ b/tests/pixbuf-randomly-modified.c
@@ -97,9 +97,6 @@ main (int argc, char **argv)
max_mem_size.rlim_cur = 100 * 1024 * 1024; /* 100M */
max_mem_size.rlim_max = max_mem_size.rlim_cur;
setrlimit (RLIMIT_DATA, &max_mem_size);
-#ifdef RLIMIT_AS
- setrlimit (RLIMIT_AS, &max_mem_size);
-#endif
#endif
g_test_init (&argc, &argv, NULL);