test/meson.build: move TestTime to time/

This commit is contained in:
Max Kellermann 2020-04-01 16:10:49 +02:00
parent 60610e90b1
commit a4c925c8d7
3 changed files with 17 additions and 13 deletions

View File

@ -24,6 +24,7 @@ gtest_dep = declare_dependency(
)
subdir('net')
subdir('time')
executable(
'read_conf',
@ -51,19 +52,6 @@ test('TestUtil', executable(
],
))
test(
'TestTime',
executable(
'TestTime',
'TestISO8601.cxx',
include_directories: inc,
dependencies: [
time_dep,
gtest_dep,
],
),
)
test('TestRewindInputStream', executable(
'TestRewindInputStream',
'TestRewindInputStream.cxx',

16
test/time/meson.build Normal file
View File

@ -0,0 +1,16 @@
test_time_sources = [
'TestISO8601.cxx',
]
test(
'TestTime',
executable(
'TestTime',
test_time_sources,
include_directories: inc,
dependencies: [
time_dep,
gtest_dep,
],
),
)