diff options
author | Jason Evans <jasone@canonware.com> | 2016-05-04 00:18:34 (GMT) |
---|---|---|
committer | Jason Evans <jasone@canonware.com> | 2016-05-04 00:18:34 (GMT) |
commit | 1eb46ab6e7be3db65131c7098635fe079eb5f9ed (patch) | |
tree | a869e6405d7f805a961a9b5481e77ece95ffda6c /test | |
parent | 9aa1543e9c1cdd8373985e16e4610fd84caafd85 (diff) | |
download | jemalloc-1eb46ab6e7be3db65131c7098635fe079eb5f9ed.zip jemalloc-1eb46ab6e7be3db65131c7098635fe079eb5f9ed.tar.gz jemalloc-1eb46ab6e7be3db65131c7098635fe079eb5f9ed.tar.bz2 |
Don't test fork() on Windows.
Diffstat (limited to 'test')
-rw-r--r-- | test/unit/fork.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/unit/fork.c b/test/unit/fork.c index d64f2e0..46c815e 100644 --- a/test/unit/fork.c +++ b/test/unit/fork.c @@ -1,9 +1,12 @@ #include "test/jemalloc_test.h" +#ifndef _WIN32 #include <sys/wait.h> +#endif TEST_BEGIN(test_fork) { +#ifndef _WIN32 void *p; pid_t pid; @@ -46,6 +49,9 @@ TEST_BEGIN(test_fork) } } } +#else + test_skip("fork(2) is irrelevant to Windows"); +#endif } TEST_END |