gencpp/test/test.cpp
Ed_ 5e79e8ba65 Started to setup for codebase validation tests.
Fleshed out initial version of AST::is_equal( AST* )

Setup the test directory with initial files for each major validation test.
2023-08-22 16:01:50 -04:00

36 lines
526 B
C++

#if GEN_TIME
#define GEN_DEFINE_LIBRARY_CODE_CONSTANTS
#define GEN_ENFORCE_STRONG_CODE_TYPES
#define GEN_EXPOSE_BACKEND
#define GEN_BENCHMARK
#include "gen.cpp"
#include "gen.builder.cpp"
#include "sanity.cpp"
#include "SOA.cpp"
#include "test.singleheader.cpp"
int gen_main()
{
using namespace gen;
log_fmt("\ngen_time:");
// check_sanity();
// check_SOA();
// check_singleheader_ast();
return 0;
}
#endif
// This only has to be done if symbol conflicts occur.
#ifndef GEN_TIME
int main()
{
return 0;
}
#endif