Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
argo
aml
Commits
c759c9df
Commit
c759c9df
authored
Aug 27, 2018
by
Swann Perarnau
Browse files
[fix] fixup unit tests
Mbind is giving us trouble again, will need to spend time looking at it carefully.
parent
e66f5948
Pipeline
#6989
passed with stage
in 9 minutes and 49 seconds
Changes
3
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
tests/Makefile.am
View file @
c759c9df
...
...
@@ -13,7 +13,7 @@ UTILS_TESTS = vector
ARENA_JEMALLOC_TESTS
=
arena_jemalloc
AREA_LINUX_TESTS
=
linux_mbind
\
AREA_LINUX_TESTS
=
\
linux_mmap
\
linux_manager
\
area_linux
...
...
tests/area_linux.c
View file @
c759c9df
...
...
@@ -34,7 +34,7 @@ void doit(struct aml_area *area)
/* memalign */
ptr
=
aml_area_memalign
(
area
,
16
,
sizeof
(
unsigned
long
));
assert
(
ptr
!=
NULL
);
iptr
=
ptr
;
iptr
=
(
intptr_t
)
ptr
;
assert
(
iptr
%
16
==
0
);
aml_area_free
(
area
,
ptr
);
...
...
tests/area_posix.c
View file @
c759c9df
...
...
@@ -40,7 +40,7 @@ int main(int argc, char *argv[])
/* memalign */
ptr
=
aml_area_memalign
(
&
area
,
16
,
sizeof
(
unsigned
long
));
assert
(
ptr
!=
NULL
);
iptr
=
ptr
;
iptr
=
(
intptr_t
)
ptr
;
assert
(
iptr
%
16
==
0
);
aml_area_free
(
&
area
,
ptr
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment