@@ -65,11 +65,7 @@ nanoarrow_dep = declare_dependency(include_directories: [curdir, incdir],
65
65
link_with : nanoarrow_lib)
66
66
67
67
if get_option (' ipc' )
68
- cmake = import (' cmake' )
69
- cmake_opts = cmake.subproject_options()
70
- cmake_opts.add_cmake_defines({' CMAKE_POSITION_INDEPENDENT_CODE' : true })
71
- flatcc_subproj = cmake.subproject (' flatcc' , options : cmake_opts)
72
- flatcc_dep = flatcc_subproj.dependency (' flatccrt' )
68
+ flatcc_dep = dependency (' flatcc' )
73
69
74
70
nanoarrow_ipc_lib = build_target (
75
71
' nanoarrow_ipc' ,
@@ -172,9 +168,14 @@ if get_option('tests')
172
168
ipc_test_files = {
173
169
' nanoarrow-ipc-decoder' : {
174
170
' deps' : [nanoarrow_ipc_dep, arrow_dep, gtest_dep],
171
+ ' timeout' : 30 ,
175
172
},
176
173
' nanoarrow-ipc-reader' : {
177
174
' deps' : [nanoarrow_ipc_dep, arrow_dep, gtest_dep],
175
+ # the ipc reader test can take longer when executed
176
+ # under valgrind, hence the increased timeout
177
+ ' timeout' : 90 ,
178
+
178
179
},
179
180
' nanoarrow-ipc-files' : {
180
181
' deps' : [
@@ -184,9 +185,11 @@ if get_option('tests')
184
185
gtest_dep,
185
186
nlohmann_json_dep
186
187
],
188
+ ' timeout' : 30 ,
187
189
},
188
190
' nanoarrow-ipc-hpp' : {
189
191
' deps' : [nanoarrow_ipc_dep, gtest_dep],
192
+ ' timeout' : 30 ,
190
193
},
191
194
}
192
195
@@ -196,7 +199,7 @@ if get_option('tests')
196
199
name.replace(' -' , ' _' ) + ' _test.cc' ,
197
200
dependencies : config[' deps' ]
198
201
)
199
- test (name, exc)
202
+ test (name, exc, timeout : config[ ' timeout ' ] )
200
203
endforeach
201
204
endif
202
205
endif
0 commit comments