Gutting test code, going to be just doing it proeprly when the library upfornt api is done.

This commit is contained in:
2023-04-09 14:51:37 -04:00
parent 56d7aa1d72
commit f3b5e90ddc
9 changed files with 15 additions and 770 deletions

View File

@ -2,10 +2,10 @@ project( 'test', 'c', default_options : ['buildtype=debug'] )
# add_global_arguments('-E', language : 'cpp')
includes = include_directories(
[
includes = include_directories(
[
'../gen',
'../../singleheader'
'../../singleheader'
])
# get_sources = files('./get_sources.ps1')
@ -19,4 +19,6 @@ if get_option('buildtype').startswith('debug')
endif
add_project_arguments('-Dgentime', language : ['c', 'cpp'])
executable( 'test_c99', sources, include_directories : includes )

View File

@ -5,7 +5,7 @@
typedef u64(*)(void*) HashingFn;
#if gen_time
# define gen_table( Type_, HashingFn_ ) gen_request_table( #Type_, sizeof(Type_), HashingFn_ )
# define gen_table( Type_, HashingFn_ ) gen_request_table( #Type_, sizeof(Type_), HashingFn_ )
u64 table_default_hash_fn( void* address )
{