Changed abort behaviour for Windows CI.

This commit is contained in:
Matthew Parkinson
2019-08-13 15:37:54 +01:00
parent dd3feb948c
commit 16b084f501
10 changed files with 52 additions and 6 deletions

View File

@@ -1,5 +1,6 @@
#include "test/measuretime.h"
#include "test/opt.h"
#include "test/setup.h"
#include "test/usage.h"
#include "test/xoroshiro.h"
@@ -148,6 +149,8 @@ void test_tasks(size_t num_tasks, size_t count, size_t size)
int main(int argc, char** argv)
{
setup();
opt::Opt opt(argc, argv);
size_t cores = opt.is<size_t>("--cores", 8);

View File

@@ -1,5 +1,6 @@
#include <snmalloc.h>
#include <test/measuretime.h>
#include <test/setup.h>
#include <test/xoroshiro.h>
#include <unordered_set>
@@ -78,6 +79,8 @@ namespace test
int main(int, char**)
{
setup();
xoroshiro::p128r64 r;
#if NDEBUG
size_t nn = 30;

View File

@@ -1,5 +1,6 @@
#include <snmalloc.h>
#include <test/measuretime.h>
#include <test/setup.h>
#include <unordered_set>
using namespace snmalloc;
@@ -63,6 +64,8 @@ void test_alloc_dealloc(size_t count, size_t size, bool write)
int main(int, char**)
{
setup();
for (size_t size = 16; size <= 128; size <<= 1)
{
test_alloc_dealloc<NoZero>(1 << 15, size, false);