Browse Source

Make sure that fork_test.c is not built under windows

tags/v0.2.9.rc2^2
Olivier Grisel 11 years ago
parent
commit
a14f98ca7c
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      utest/test_fork.c

+ 2
- 1
utest/test_fork.c View File

@@ -30,6 +30,7 @@ USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

**********************************************************************************/

#ifndef OS_WINDOWS
#include "common_utest.h"
#include <sys/wait.h>
#include <cblas.h>
@@ -56,7 +57,6 @@ void check_dgemm(double *a, double *b, double *result, double *expected, int n)
}
}


void test_fork_safety(void)
{
int n = 1000;
@@ -120,3 +120,4 @@ void test_fork_safety(void)
CU_ASSERT(WEXITSTATUS (child_status) == 0);
}
}
#endif

Loading…
Cancel
Save