diff --git a/meson.build b/meson.build index 5101e7f4d..4c187cdce 100644 --- a/meson.build +++ b/meson.build @@ -187,7 +187,7 @@ if get_option('tests') gtest_dep = dependency('gtest_main') gmock_dep = dependency('gmock') - nanoarrow_tests = ['utils', 'buffer', 'array', 'schema', 'array-stream', 'nanoarrow-hpp'] + nanoarrow_tests = ['utils', 'buffer', 'array', 'schema', 'array-stream'] foreach name : nanoarrow_tests exc = executable( @@ -199,6 +199,18 @@ if get_option('tests') test(name, exc) endforeach + nanoarrow_hpp_tests = ['array_stream', 'buffer', 'exception', 'unique', 'view'] + + foreach name : nanoarrow_hpp_tests + exc = executable( + 'hpp-' + name + '-test', + sources: 'src/nanoarrow/hpp/' + name.replace('-', '_') + '_test.cc', + include_directories: incdir, + dependencies: [nanoarrow_testing_dep, gtest_dep, gmock_dep], + ) + test(name, exc) + endforeach + testing_test = executable('nanoarrow-testing-test', 'src/nanoarrow/testing/testing_test.cc', include_directories: incdir,