mirror of
https://github.com/Ed94/gencpp.git
synced 2025-06-14 18:51:47 -07:00
Test building & generation fixed with altest scripts
This commit is contained in:
@ -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
|
||||
|
@ -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();
|
||||
|
||||
|
@ -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");
|
||||
|
||||
|
Reference in New Issue
Block a user