Changed abort behaviour for Windows CI.
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
#include <stdio.h>
|
||||
#include <test/setup.h>
|
||||
|
||||
#define SNMALLOC_NAME_MANGLE(a) our_##a
|
||||
#include "../../../override/malloc.cc"
|
||||
@@ -76,6 +77,8 @@ int main(int argc, char** argv)
|
||||
UNUSED(argc);
|
||||
UNUSED(argv);
|
||||
|
||||
setup();
|
||||
|
||||
constexpr int SUCCESS = 0;
|
||||
|
||||
test_calloc(0, 0, SUCCESS, false);
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
#include <snmalloc.h>
|
||||
#include <test/setup.h>
|
||||
|
||||
using namespace snmalloc;
|
||||
|
||||
@@ -9,6 +10,8 @@ using namespace snmalloc;
|
||||
|
||||
int main(int argc, char** argv)
|
||||
{
|
||||
setup();
|
||||
|
||||
UNUSED(argc);
|
||||
UNUSED(argv);
|
||||
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
#include <iostream>
|
||||
#include <snmalloc.h>
|
||||
#include <test/setup.h>
|
||||
|
||||
NOINLINE
|
||||
snmalloc::sizeclass_t size_to_sizeclass(size_t size)
|
||||
@@ -9,6 +10,8 @@ snmalloc::sizeclass_t size_to_sizeclass(size_t size)
|
||||
|
||||
int main(int, char**)
|
||||
{
|
||||
setup();
|
||||
|
||||
bool failed = false;
|
||||
size_t size_low = 0;
|
||||
|
||||
|
||||
@@ -3,6 +3,7 @@
|
||||
#include <iostream>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <test/setup.h>
|
||||
|
||||
void* oe_base;
|
||||
void* oe_end;
|
||||
@@ -40,6 +41,8 @@ host_snmalloc_pagemap_global_get(snmalloc::PagemapConfig const**);
|
||||
using namespace snmalloc;
|
||||
int main()
|
||||
{
|
||||
setup();
|
||||
|
||||
MemoryProviderStateMixin<DefaultPal> mp;
|
||||
|
||||
size_t size = 1ULL << 28;
|
||||
|
||||
Reference in New Issue
Block a user