summaryrefslogtreecommitdiffstats
path: root/test/integration
diff options
context:
space:
mode:
authorJason Evans <jasone@canonware.com>2017-01-13 18:35:35 (GMT)
committerJason Evans <jasone@canonware.com>2017-01-13 22:49:24 (GMT)
commitffbb7dac3d669697ab8b39367994a58e0c1fa42d (patch)
tree9765e69b5048a990b72c6af86b89fac8814d8f62 /test/integration
parent87e81e609b5d1bd8821d7256208091c546e62c5a (diff)
downloadjemalloc-ffbb7dac3d669697ab8b39367994a58e0c1fa42d.zip
jemalloc-ffbb7dac3d669697ab8b39367994a58e0c1fa42d.tar.gz
jemalloc-ffbb7dac3d669697ab8b39367994a58e0c1fa42d.tar.bz2
Remove leading blank lines from function bodies.
This resolves #535.
Diffstat (limited to 'test/integration')
-rw-r--r--test/integration/MALLOCX_ARENA.c1
-rw-r--r--test/integration/aligned_alloc.c2
-rw-r--r--test/integration/allocated.c2
-rw-r--r--test/integration/cpp/basic.cpp1
-rw-r--r--test/integration/extent.c1
-rw-r--r--test/integration/mallocx.c4
-rw-r--r--test/integration/overflow.c1
-rw-r--r--test/integration/posix_memalign.c2
-rw-r--r--test/integration/rallocx.c3
-rw-r--r--test/integration/sdallocx.c1
-rw-r--r--test/integration/thread_arena.c1
-rw-r--r--test/integration/thread_tcache_enabled.c2
-rw-r--r--test/integration/xallocx.c5
13 files changed, 0 insertions, 26 deletions
diff --git a/test/integration/MALLOCX_ARENA.c b/test/integration/MALLOCX_ARENA.c
index 58032da..1d9e423 100644
--- a/test/integration/MALLOCX_ARENA.c
+++ b/test/integration/MALLOCX_ARENA.c
@@ -63,7 +63,6 @@ TEST_END
int
main(void)
{
-
return (test(
test_MALLOCX_ARENA));
}
diff --git a/test/integration/aligned_alloc.c b/test/integration/aligned_alloc.c
index 36fb699..52b69ac 100644
--- a/test/integration/aligned_alloc.c
+++ b/test/integration/aligned_alloc.c
@@ -10,7 +10,6 @@
static void
purge(void)
{
-
assert_d_eq(mallctl("arena.0.purge", NULL, NULL, NULL, 0), 0,
"Unexpected mallctl error");
}
@@ -130,7 +129,6 @@ TEST_END
int
main(void)
{
-
return (test(
test_alignment_errors,
test_oom_errors,
diff --git a/test/integration/allocated.c b/test/integration/allocated.c
index 6ce145b..7570c52 100644
--- a/test/integration/allocated.c
+++ b/test/integration/allocated.c
@@ -98,7 +98,6 @@ label_ENOENT:
TEST_BEGIN(test_main_thread)
{
-
thd_start(NULL);
}
TEST_END
@@ -115,7 +114,6 @@ TEST_END
int
main(void)
{
-
/* Run tests multiple times to check for bad interactions. */
return (test(
test_main_thread,
diff --git a/test/integration/cpp/basic.cpp b/test/integration/cpp/basic.cpp
index eeb93c4..4a87a3b 100644
--- a/test/integration/cpp/basic.cpp
+++ b/test/integration/cpp/basic.cpp
@@ -12,7 +12,6 @@ TEST_END
int
main()
{
-
return (test(
test_basic));
}
diff --git a/test/integration/extent.c b/test/integration/extent.c
index e347b66..30849b0 100644
--- a/test/integration/extent.c
+++ b/test/integration/extent.c
@@ -176,7 +176,6 @@ TEST_END
int
main(void)
{
-
return (test(
test_extent_manual_hook,
test_extent_auto_hook));
diff --git a/test/integration/mallocx.c b/test/integration/mallocx.c
index 2298f72..7617b1b 100644
--- a/test/integration/mallocx.c
+++ b/test/integration/mallocx.c
@@ -20,7 +20,6 @@ get_nsizes_impl(const char *cmd)
static unsigned
get_nlarge(void)
{
-
return (get_nsizes_impl("arenas.nlextents"));
}
@@ -46,7 +45,6 @@ get_size_impl(const char *cmd, size_t ind)
static size_t
get_large_size(size_t ind)
{
-
return (get_size_impl("arenas.lextent.0.size", ind));
}
@@ -58,7 +56,6 @@ get_large_size(size_t ind)
static void
purge(void)
{
-
assert_d_eq(mallctl("arena.0.purge", NULL, NULL, NULL, 0), 0,
"Unexpected mallctl error");
}
@@ -225,7 +222,6 @@ TEST_END
int
main(void)
{
-
return (test(
test_overflow,
test_oom,
diff --git a/test/integration/overflow.c b/test/integration/overflow.c
index 3e1e15f..ad867e7 100644
--- a/test/integration/overflow.c
+++ b/test/integration/overflow.c
@@ -43,7 +43,6 @@ TEST_END
int
main(void)
{
-
return (test(
test_overflow));
}
diff --git a/test/integration/posix_memalign.c b/test/integration/posix_memalign.c
index 9f3156a..dace10f 100644
--- a/test/integration/posix_memalign.c
+++ b/test/integration/posix_memalign.c
@@ -10,7 +10,6 @@
static void
purge(void)
{
-
assert_d_eq(mallctl("arena.0.purge", NULL, NULL, NULL, 0), 0,
"Unexpected mallctl error");
}
@@ -124,7 +123,6 @@ TEST_END
int
main(void)
{
-
return (test(
test_alignment_errors,
test_oom_errors,
diff --git a/test/integration/rallocx.c b/test/integration/rallocx.c
index dd89e8c..0a8b50c 100644
--- a/test/integration/rallocx.c
+++ b/test/integration/rallocx.c
@@ -16,7 +16,6 @@ get_nsizes_impl(const char *cmd)
static unsigned
get_nlarge(void)
{
-
return (get_nsizes_impl("arenas.nlextents"));
}
@@ -42,7 +41,6 @@ get_size_impl(const char *cmd, size_t ind)
static size_t
get_large_size(size_t ind)
{
-
return (get_size_impl("arenas.lextent.0.size", ind));
}
@@ -249,7 +247,6 @@ TEST_END
int
main(void)
{
-
return (test(
test_grow_and_shrink,
test_zero,
diff --git a/test/integration/sdallocx.c b/test/integration/sdallocx.c
index f92e058..5d0a8f8 100644
--- a/test/integration/sdallocx.c
+++ b/test/integration/sdallocx.c
@@ -50,7 +50,6 @@ TEST_END
int
main(void)
{
-
return (test(
test_basic,
test_alignment_and_size));
diff --git a/test/integration/thread_arena.c b/test/integration/thread_arena.c
index 7a35a63..cf8240d 100644
--- a/test/integration/thread_arena.c
+++ b/test/integration/thread_arena.c
@@ -75,7 +75,6 @@ TEST_END
int
main(void)
{
-
return (test(
test_thread_arena));
}
diff --git a/test/integration/thread_tcache_enabled.c b/test/integration/thread_tcache_enabled.c
index 2c2825e..1394371 100644
--- a/test/integration/thread_tcache_enabled.c
+++ b/test/integration/thread_tcache_enabled.c
@@ -86,7 +86,6 @@ label_ENOENT:
TEST_BEGIN(test_main_thread)
{
-
thd_start(NULL);
}
TEST_END
@@ -103,7 +102,6 @@ TEST_END
int
main(void)
{
-
/* Run tests multiple times to check for bad interactions. */
return (test(
test_main_thread,
diff --git a/test/integration/xallocx.c b/test/integration/xallocx.c
index d35ca39..647404a 100644
--- a/test/integration/xallocx.c
+++ b/test/integration/xallocx.c
@@ -87,14 +87,12 @@ get_nsizes_impl(const char *cmd)
static unsigned
get_nsmall(void)
{
-
return (get_nsizes_impl("arenas.nbins"));
}
static unsigned
get_nlarge(void)
{
-
return (get_nsizes_impl("arenas.nlextents"));
}
@@ -120,14 +118,12 @@ get_size_impl(const char *cmd, size_t ind)
static size_t
get_small_size(size_t ind)
{
-
return (get_size_impl("arenas.bin.0.size", ind));
}
static size_t
get_large_size(size_t ind)
{
-
return (get_size_impl("arenas.lextent.0.size", ind));
}
@@ -397,7 +393,6 @@ TEST_END
int
main(void)
{
-
return (test(
test_same_size,
test_extra_no_move,