commit | 1eb46ab6e7be3db65131c7098635fe079eb5f9ed | [log] [tgz] |
---|---|---|
author | Jason Evans <jasone@canonware.com> | Tue May 03 17:18:34 2016 -0700 |
committer | Jason Evans <jasone@canonware.com> | Tue May 03 17:18:34 2016 -0700 |
tree | a869e6405d7f805a961a9b5481e77ece95ffda6c | |
parent | 9aa1543e9c1cdd8373985e16e4610fd84caafd85 [diff] |
Don't test fork() on Windows.
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 @@ } } } +#else + test_skip("fork(2) is irrelevant to Windows"); +#endif } TEST_END