From a4c925c8d7b67ef8f099710682e16622746ce648 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Wed, 1 Apr 2020 16:10:49 +0200 Subject: [PATCH] test/meson.build: move TestTime to time/ --- test/meson.build | 14 +------------- test/{ => time}/TestISO8601.cxx | 0 test/time/meson.build | 16 ++++++++++++++++ 3 files changed, 17 insertions(+), 13 deletions(-) rename test/{ => time}/TestISO8601.cxx (100%) create mode 100644 test/time/meson.build diff --git a/test/meson.build b/test/meson.build index 4e3fbab49..f20a79aa0 100644 --- a/test/meson.build +++ b/test/meson.build @@ -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', diff --git a/test/TestISO8601.cxx b/test/time/TestISO8601.cxx similarity index 100% rename from test/TestISO8601.cxx rename to test/time/TestISO8601.cxx diff --git a/test/time/meson.build b/test/time/meson.build new file mode 100644 index 000000000..0aba67ac2 --- /dev/null +++ b/test/time/meson.build @@ -0,0 +1,16 @@ +test_time_sources = [ + 'TestISO8601.cxx', +] + +test( + 'TestTime', + executable( + 'TestTime', + test_time_sources, + include_directories: inc, + dependencies: [ + time_dep, + gtest_dep, + ], + ), +)