Test building & generation fixed with altest scripts

This commit is contained in:
2023-08-20 15:45:06 -04:00
parent 2f7836b191
commit 05fa62eced
7 changed files with 17 additions and 17 deletions

View File

@ -63,8 +63,7 @@ void check_sanity()
log_fmt("Num String Cache Arenas : %llu TotalSize: %llu !\n", StringArenas.num(), StringArenas.num() * SizePer_StringArena);
log_fmt("Num String Cache : %llu\n", StringCache.Entries.num(), StringCache);
Builder builder;
builder.open( "gen/sanity.gen.hpp" );
Builder builder = Builder::open( "./gen/sanity.gen.hpp" );
idx = typedefs.num();
#ifdef GEN_BENCHMARK

View File

@ -1,3 +1,4 @@
#if GEN_TIME
#define GEN_DEFINE_LIBRARY_CODE_CONSTANTS
#define GEN_ENFORCE_STRONG_CODE_TYPES
#define GEN_EXPOSE_BACKEND
@ -8,13 +9,12 @@
#include "SOA.cpp"
#include "test.singleheader_ast.cpp"
#if GEN_TIME
int gen_main()
{
using namespace gen;
log_fmt("\ngen_time:");
check_sanity();
// check_sanity();
// check_SOA();

View File

@ -9,7 +9,7 @@ using namespace gen;
void check_singleheader_ast()
{
#define project_dir "../../"
#define project_dir "../"
gen::init();
log_fmt("\ncheck_singleheader_ast:\n");