test/meson.build: fix test() indent

This commit is contained in:
Max Kellermann 2021-11-26 08:40:38 +01:00
parent 54686dfd79
commit 3f2bc325a1

View File

@ -41,69 +41,87 @@ executable(
], ],
) )
test('TestRewindInputStream', executable( test(
'TestRewindInputStream', 'TestRewindInputStream',
'TestRewindInputStream.cxx', executable(
include_directories: inc, 'TestRewindInputStream',
dependencies: [ 'TestRewindInputStream.cxx',
input_glue_dep, include_directories: inc,
gtest_dep, dependencies: [
], input_glue_dep,
)) gtest_dep,
],
),
)
test('test_mixramp', executable( test(
'test_mixramp', 'test_mixramp',
'test_mixramp.cxx', executable(
include_directories: inc, 'test_mixramp',
dependencies: [ 'test_mixramp.cxx',
log_dep, include_directories: inc,
util_dep, dependencies: [
gtest_dep, log_dep,
], util_dep,
)) gtest_dep,
],
),
)
test('test_protocol', executable( test(
'test_protocol', 'test_protocol',
'test_protocol.cxx', executable(
'../src/protocol/ArgParser.cxx', 'test_protocol',
include_directories: inc, 'test_protocol.cxx',
dependencies: [ '../src/protocol/ArgParser.cxx',
gtest_dep, include_directories: inc,
], dependencies: [
)) gtest_dep,
],
),
)
test('test_queue_priority', executable( test(
'test_queue_priority', 'test_queue_priority',
'test_queue_priority.cxx', executable(
'../src/queue/Queue.cxx', 'test_queue_priority',
include_directories: inc, 'test_queue_priority.cxx',
dependencies: [ '../src/queue/Queue.cxx',
util_dep, include_directories: inc,
gtest_dep, dependencies: [
], util_dep,
)) gtest_dep,
],
),
)
test('TestFs', executable( test(
'TestFs', 'TestFs',
'TestFs.cxx', executable(
'TestLookupFile.cxx', 'TestFs',
include_directories: inc, 'TestFs.cxx',
dependencies: [ 'TestLookupFile.cxx',
fs_dep, include_directories: inc,
gtest_dep, dependencies: [
], fs_dep,
)) gtest_dep,
],
),
)
test('TestIcu', executable( test(
'TestIcu', 'TestIcu',
'TestIcu.cxx', executable(
include_directories: inc, 'TestIcu',
dependencies: [ 'TestIcu.cxx',
util_dep, include_directories: inc,
icu_dep, dependencies: [
gtest_dep, util_dep,
], icu_dep,
)) gtest_dep,
],
),
)
if zeroconf_dep.found() if zeroconf_dep.found()
executable( executable(
@ -264,20 +282,23 @@ if enable_database
], ],
) )
test('test_translate_song', executable( test(
'test_translate_song', 'test_translate_song',
'test_translate_song.cxx', executable(
'../src/playlist/PlaylistSong.cxx', 'test_translate_song',
'../src/SongLoader.cxx', 'test_translate_song.cxx',
'../src/LocateUri.cxx', '../src/playlist/PlaylistSong.cxx',
include_directories: inc, '../src/SongLoader.cxx',
dependencies: [ '../src/LocateUri.cxx',
log_dep, include_directories: inc,
tag_dep, dependencies: [
storage_glue_dep, log_dep,
gtest_dep, tag_dep,
], storage_glue_dep,
)) gtest_dep,
],
),
)
endif endif
# #
@ -312,16 +333,19 @@ if curl_dep.found()
], ],
) )
test('test_icy_parser', executable( test(
'test_icy_parser', 'test_icy_parser',
'test_icy_parser.cxx', executable(
include_directories: inc, 'test_icy_parser',
dependencies: [ 'test_icy_parser.cxx',
icu_dep, include_directories: inc,
tag_dep, dependencies: [
gtest_dep, icu_dep,
], tag_dep,
)) gtest_dep,
],
),
)
endif endif
# #
@ -475,23 +499,26 @@ endif
# Filter # Filter
# #
test('test_pcm', executable( test(
'test_pcm', 'test_pcm',
'TestAudioFormat.cxx', executable(
'test_pcm_dither.cxx', 'test_pcm',
'test_pcm_pack.cxx', 'TestAudioFormat.cxx',
'test_pcm_channels.cxx', 'test_pcm_dither.cxx',
'test_pcm_format.cxx', 'test_pcm_pack.cxx',
'test_pcm_volume.cxx', 'test_pcm_channels.cxx',
'test_pcm_mix.cxx', 'test_pcm_format.cxx',
'test_pcm_interleave.cxx', 'test_pcm_volume.cxx',
'test_pcm_export.cxx', 'test_pcm_mix.cxx',
include_directories: inc, 'test_pcm_interleave.cxx',
dependencies: [ 'test_pcm_export.cxx',
pcm_dep, include_directories: inc,
gtest_dep, dependencies: [
], pcm_dep,
)) gtest_dep,
],
),
)
executable( executable(
'run_filter', 'run_filter',