test/TestUtil: move to test/util/

This commit is contained in:
Max Kellermann 2020-12-02 15:01:21 +01:00
parent 618f94f589
commit 49e1ce7c43
11 changed files with 21 additions and 18 deletions

View File

@ -28,6 +28,7 @@ gtest_dep = declare_dependency(
compile_args: gtest_compile_args,
)
subdir('util')
subdir('net')
subdir('time')
@ -40,24 +41,6 @@ executable(
],
)
test('TestUtil', executable(
'TestUtil',
'TestCircularBuffer.cxx',
'TestDivideString.cxx',
'TestMimeType.cxx',
'TestSplitString.cxx',
'TestUriExtract.cxx',
'TestUriQueryParser.cxx',
'TestUriRelative.cxx',
'TestUriUtil.cxx',
'test_byte_reverse.cxx',
include_directories: inc,
dependencies: [
util_dep,
gtest_dep,
],
))
test('TestRewindInputStream', executable(
'TestRewindInputStream',
'TestRewindInputStream.cxx',

20
test/util/meson.build Normal file
View File

@ -0,0 +1,20 @@
test(
'TestUtil',
executable(
'TestUtil',
'TestCircularBuffer.cxx',
'TestDivideString.cxx',
'TestMimeType.cxx',
'TestSplitString.cxx',
'TestUriExtract.cxx',
'TestUriQueryParser.cxx',
'TestUriRelative.cxx',
'TestUriUtil.cxx',
'test_byte_reverse.cxx',
include_directories: inc,
dependencies: [
util_dep,
gtest_dep,
],
),
)