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-13 02:56:48 +0200
commit12bd0e2fff525e716d7ee8c96855912fb56b25be (patch)
treea069e32a41cf9d7c44faea8198953b1ee1b32b3d
parent71b59cd4b5e8502b492892cffa1c3ef7f4182198 (diff)
downloadgdk-pixbuf-12bd0e2fff525e716d7ee8c96855912fb56b25be.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);